注册/修改手机号优化
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
import { reactive } from 'vue';
|
||||
import { onLoad} from '@dcloudio/uni-app'
|
||||
import { setSendMsg, bind} from '@/api/login/login.js';
|
||||
import { updatePhone } from '@/api/user/user.js';
|
||||
|
||||
let data = reactive({
|
||||
mobile: '',
|
||||
@@ -100,7 +101,7 @@
|
||||
} else {
|
||||
uni.showLoading({ title: '正在绑定中...' })
|
||||
|
||||
let res = await bind({
|
||||
let res = await updatePhone({
|
||||
phone: mobile,
|
||||
// wxId: openId,
|
||||
// userId: userId,
|
||||
|
||||
Reference in New Issue
Block a user