Commit 2f81a9e2 by LJM

解决bug

parent 5580d035
......@@ -2,11 +2,8 @@
<view class="page-auth column rowCenter verCenter">
<text class="logo"></text>
<text class="title">SCMWMS</text>
<button class="share row rowCenter verCenter" @tap="getUserProfileChange">
<text class="iconfont icon-weixin"></text>
<text class="t1">微信授权登录</text>
</button>
<view class="copyright">©2022深圳市猎芯供应链有限公司 ALL RIGHTS RESERVED</view>
<button class="share row rowCenter verCenter" @tap="getUserProfileChange"><text class="t1">授权登录</text></button>
<view class="copyright">©2023深圳市猎芯供应链有限公司 ALL RIGHTS RESERVED</view>
</view>
</template>
......
......@@ -2,11 +2,8 @@
<view class="page-auth column rowCenter verCenter">
<text class="logo"></text>
<text class="title">SCM商务系统</text>
<button class="share row rowCenter verCenter" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">
<text class="iconfont icon-jinggao1"></text>
<text class="t1">微信授权获取手机号</text>
</button>
<view class="copyright">©2022深圳市猎芯供应链有限公司 ALL RIGHTS RESERVED</view>
<button class="share row rowCenter verCenter" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber"><text class="t1">授权获取手机号</text></button>
<view class="copyright">©2023深圳市猎芯供应链有限公司 ALL RIGHTS RESERVED</view>
</view>
</template>
......
......@@ -56,8 +56,9 @@ export default {
uni.showModal({
title: '提示',
content: '您确定退出系统嘛',
success: function(res) {
success: res => {
if (res.confirm) {
this.request(API.unBindUserInfo, 'POST', {}, true).then(res => {});
uni.removeStorageSync('token');
uni.switchTab({
url: '/pages/home/index'
......
//const API_BASE = 'https://api.ichunt.com';
const API_BASE = 'http://api.liexin.com';
const API_BASE = 'https://api.ichunt.com';
//const API_BASE = 'http://api.liexin.com';
const API = {
/**
* 上传数据
......@@ -14,6 +14,10 @@ const API = {
* */
login: API_BASE + '/supplywechatsignfor/login',
/**
* 小程序解绑
* */
unBindUserInfo: API_BASE + '/supplywechatwms/unBindUserInfo',
/**
* 获取用户微信信息
* */
getWechatInfo: API_BASE + '/supplywechatwms/getWechatInfo',
......
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 sign in to comment