This commit is contained in:
2025-07-31 00:46:40 +08:00
parent 8b0a0df98d
commit 286215ced0
15 changed files with 115 additions and 55 deletions

View File

@@ -107,7 +107,7 @@ function UserCard() {
success: function () {
if (code) {
Taro.request({
url: 'https://server.gxwebsoft.com/api/wx-login/loginByMpWxPhone',
url: 'https://server.websoft.top/api/wx-login/loginByMpWxPhone',
method: 'POST',
data: {
code,
@@ -155,9 +155,9 @@ function UserCard() {
IsLogin ? (
<Avatar size="large" src={userInfo?.avatar} shape="round"/>
) : (
<Button className={'text-black'} open-type="getPhoneNumber" onGetPhoneNumber={handleGetPhoneNumber}>
<div onClick={() => Taro.navigateTo({url: '/passport/wxLogin'})}>
<Avatar size="large" src={userInfo?.avatar} shape="round"/>
</Button>
</div>
)
}
<div className={'user-info flex flex-col px-2'}>