|
|
@@ -96,19 +96,19 @@
|
|
|
telCode: e.detail.code,
|
|
|
loginCode: res.code,
|
|
|
}).then(rest => {
|
|
|
+ console.info('rest----', rest)
|
|
|
uni.setStorageSync('phoneInfo',rest.data.phoneNumber)
|
|
|
uni.showLoading({
|
|
|
title: '登录中',
|
|
|
mask: true
|
|
|
});
|
|
|
this_.$u.api.wechartToken({
|
|
|
- username: rest.data.phoneNumber,
|
|
|
+ phone: rest.data.phoneNumber,
|
|
|
union_id: rest.data.unionid,
|
|
|
open_id: rest.data.openid,
|
|
|
storeId: '1995319740020559873',
|
|
|
- applets_id: uni.getAccountInfoSync()
|
|
|
- .miniProgram.appId,
|
|
|
- password: md5('123456')
|
|
|
+ applets_id: uni.getAccountInfoSync().miniProgram.appId,
|
|
|
+ // password: md5('123456')
|
|
|
}).then(data => {
|
|
|
uni.hideLoading();
|
|
|
uni.showToast({
|
|
|
@@ -303,4 +303,4 @@
|
|
|
height: 0;
|
|
|
content: '\20';
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|