增加协议

This commit is contained in:
GaoHao
2025-01-07 11:01:32 +08:00
parent c47fe17bcf
commit f82c31084d
5 changed files with 52 additions and 65 deletions

View File

@@ -37,7 +37,7 @@
<!-- 协议地址 -->
<navigator url="/pages/me/privacy" open-type="navigate">隐私政策</navigator>
<navigator url="/me/setting/xieyi" open-type="navigate">用户服务协议</navigator>
<navigator url="/pages/me/agreement" open-type="navigate">用户服务协议</navigator>
</view>
<u-toast ref="uToast" />
@@ -128,6 +128,7 @@
password: password,
phone: mobile
})
console.log(res)
uni.setStorageSync('token', res.token)
uni.setStorageSync('userId', res.user.userId)
uni.setStorageSync('userName', res.user.userName)