Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsMin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2f81a9e2
authored
Jul 05, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
解决bug
parent
5580d035
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
13 deletions
pages/mine/auth.vue
pages/mine/authPhone.vue
pages/mine/index.vue
util/api.js
pages/mine/auth.vue
View file @
2f81a9e2
...
...
@@ -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
>
...
...
pages/mine/authPhone.vue
View file @
2f81a9e2
...
...
@@ -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
>
...
...
pages/mine/index.vue
View file @
2f81a9e2
...
...
@@ -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'
...
...
util/api.js
View file @
2f81a9e2
//
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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment