Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sport-train
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tangjiale
sport-train
Commits
a600a3ba
Commit
a600a3ba
authored
Feb 09, 2023
by
shuaizhihui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
切换版本
parent
84971f80
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
app.js
app.js
+1
-1
stu-info-popup.js
components/sport/stu-info-popup/stu-info-popup.js
+1
-1
project.config.json
project.config.json
+1
-1
pay-order.js
subPages/course/pay-order/pay-order.js
+1
-1
index.js
subPages/login/login/index.js
+3
-3
mobile-login.js
subPages/login/mobile-login/mobile-login.js
+2
-2
No files found.
app.js
View file @
a600a3ba
...
...
@@ -36,7 +36,7 @@ App({
console
.
log
(
err
);
}
})
wx
.
setStorageSync
(
'appId'
,
'wx7
d7fbc0e6746baf5
'
);
wx
.
setStorageSync
(
'appId'
,
'wx7
88dccacb6777ca3
'
);
wx
.
setKeepScreenOn
({
keepScreenOn
:
true
});
...
...
components/sport/stu-info-popup/stu-info-popup.js
View file @
a600a3ba
...
...
@@ -111,7 +111,7 @@ Component({
wxGetUserInfo
(){
wx
.
login
({
success
:
res
=>
{
API
.
getData
(
'/wx/user/wx7
d7fbc0e6746baf5
/auth'
,
{
API
.
getData
(
'/wx/user/wx7
88dccacb6777ca3
/auth'
,
{
code
:
res
.
code
},
function
(
res
)
{
if
(
res
.
code
==
200
){
...
...
project.config.json
View file @
a600a3ba
...
...
@@ -45,7 +45,7 @@
},
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.17.0"
,
"appid"
:
"wx7
d7fbc0e6746baf5
"
,
"appid"
:
"wx7
88dccacb6777ca3
"
,
"projectname"
:
"小奔体育"
,
"simulatorType"
:
"wechat"
,
"simulatorPluginLibVersion"
:
{},
...
...
subPages/course/pay-order/pay-order.js
View file @
a600a3ba
...
...
@@ -225,7 +225,7 @@ Page({
}
wx
.
login
({
success
:
res
=>
{
API
.
getData
(
'/wx/user/wx7
d7fbc0e6746baf5
/auth'
,
{
API
.
getData
(
'/wx/user/wx7
88dccacb6777ca3
/auth'
,
{
code
:
res
.
code
},
function
(
res
)
{
API
.
getData
(
'/px/user/getUserInfo'
,
{
},
function
(
ress
)
{
...
...
subPages/login/login/index.js
View file @
a600a3ba
...
...
@@ -31,7 +31,7 @@ Page({
})
wx
.
login
({
success
:
res
=>
{
API
.
getData
(
'/wx/user/wx7
d7fbc0e6746baf5
/auth'
,
{
API
.
getData
(
'/wx/user/wx7
88dccacb6777ca3
/auth'
,
{
code
:
res
.
code
},
function
(
res
)
{
wx
.
hideLoading
();
...
...
@@ -94,7 +94,7 @@ Page({
wx
.
showLoading
({
title
:
'登录中'
,})
postData
.
encryptedData
=
e
.
detail
.
encryptedData
;
postData
.
iv
=
e
.
detail
.
iv
;
postData
.
appId
=
'wx7
d7fbc0e6746baf5
'
;
postData
.
appId
=
'wx7
88dccacb6777ca3
'
;
var
_this
=
this
;
if
(
e
.
detail
.
errMsg
==
'getPhoneNumber:ok'
){
...
...
@@ -108,7 +108,7 @@ Page({
wxLogin
(){
wx
.
login
({
success
:
res
=>
{
API
.
getData
(
'/wx/user/wx7
d7fbc0e6746baf5
/getOpenId'
,
{
code
:
res
.
code
},
function
(
res
)
{
API
.
getData
(
'/wx/user/wx7
88dccacb6777ca3
/getOpenId'
,
{
code
:
res
.
code
},
function
(
res
)
{
postData
.
sessionKey
=
res
.
data
.
sessionKey
;
postData
.
openId
=
res
.
data
.
openId
;
},
function
()
{
...
...
subPages/login/mobile-login/mobile-login.js
View file @
a600a3ba
...
...
@@ -56,7 +56,7 @@ Page({
wx
.
login
({
success
:
res
=>
{
console
.
log
(
'1'
);
API
.
getData
(
'/wx/user/wx7
d7fbc0e6746baf5
/getOpenId'
,
{
API
.
getData
(
'/wx/user/wx7
88dccacb6777ca3
/getOpenId'
,
{
code
:
res
.
code
},
function
(
res
)
{
console
.
log
(
'登录'
,
res
)
...
...
@@ -102,7 +102,7 @@ Page({
phone
:
_this
.
data
.
phoneNum
,
smsCode
:
_this
.
data
.
smsCode
,
openId
:
openId
,
appId
:
'wx7
d7fbc0e6746baf5
'
,
appId
:
'wx7
88dccacb6777ca3
'
,
},
function
(
res
)
{
console
.
log
(
res
);
...
...
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