Commit afa2560a by yuzhenWang

Merge branch 'feature-20250609-优化cffp' into 'dev'

Feature 20250609 优化cffp

See merge request !7
parents fa16dea3 b3e070b6
const dev = { const dev = {
// base_url:'https://mstage.zuihuibi.cn',
// api_url:'https://mstage.zuihuibi.cn/cffpApi',
// cffp_url:'https://mstage.zuihuibi.cn/cffpApi/cffp',
// share_url:'https://mstage.zuihuibi.cn/cffp',
base_url:'https://mdev.anjibao.cn', base_url:'https://mdev.anjibao.cn',
api_url:'https://mdev.anjibao.cn/cffpApi', api_url:'https://mdev.anjibao.cn/cffpApi',
cffp_url:'https://mdev.anjibao.cn/cffpApi/cffp', cffp_url:'https://mdev.anjibao.cn/cffpApi/cffp',
......
...@@ -1852,6 +1852,7 @@ ...@@ -1852,6 +1852,7 @@
loginPopup.value.close(); loginPopup.value.close();
uni.setStorageSync('cffp_userId', String(res['data']['userId'])); uni.setStorageSync('cffp_userId', String(res['data']['userId']));
uni.setStorageSync('uni-token',res['data']['token']); uni.setStorageSync('uni-token',res['data']['token']);
uni.setStorageSync('loginType', 'codelogin');
userId.value= String(res['data']['userId']); userId.value= String(res['data']['userId']);
powerQuery(); powerQuery();
} else { } else {
......
...@@ -143,6 +143,7 @@ ...@@ -143,6 +143,7 @@
uni.setStorageSync('cffp_userId', this.userId); uni.setStorageSync('cffp_userId', this.userId);
uni.setStorageSync('isH5', 1); uni.setStorageSync('isH5', 1);
uni.setStorageSync('uni-token', res.data['token']); uni.setStorageSync('uni-token', res.data['token']);
uni.setStorageSync('loginType', 'codelogin');
uni.navigateTo({ uni.navigateTo({
url:'/pages/application-process/basic-info?userId=' + this.userId + '&shareId=' + this.form.id url:'/pages/application-process/basic-info?userId=' + this.userId + '&shareId=' + this.form.id
}) })
......
...@@ -406,10 +406,10 @@ ...@@ -406,10 +406,10 @@
uni.setStorageSync('userinfodataForm', res.data) uni.setStorageSync('userinfodataForm', res.data)
}else { }else {
uni.showToast({ // uni.showToast({
title: res['message'], // title: res['message'],
duration: 2000 // duration: 2000
}); // });
// 清空全部本地存储 // 清空全部本地存储
uni.clearStorageSync(); uni.clearStorageSync();
uni.setStorageSync('loginType','visitor') uni.setStorageSync('loginType','visitor')
......

436 KB | W: | H:

12.1 KB | W: | H:

static/logo1.png
static/logo1.png
static/logo1.png
static/logo1.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment