Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
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
viitto
mallapp
Commits
f15b022d
Commit
f15b022d
authored
Mar 16, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
e0ec6863
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
6 deletions
+15
-6
index.vue
components/auth/index.vue
+1
-1
index.vue
pages/index/index.vue
+4
-0
user-center.vue
pages/user-center/user-center.vue
+3
-1
api.js
plugin/api.js
+7
-4
No files found.
components/auth/index.vue
View file @
f15b022d
...
...
@@ -217,7 +217,7 @@ export default {
CounponPassword
:
CounponPassword
,
KeyWord
:
KeyWord
,
EduSchoolId
:
EduSchoolId
,
EduId
:
EduId
EduId
:
EduId
},
},
(
res
)
=>
{
...
...
pages/index/index.vue
View file @
f15b022d
...
...
@@ -930,6 +930,9 @@ export default {
let
EduSchoolId
=
uni
.
getStorageSync
(
"EduSchoolId"
)
?
uni
.
getStorageSync
(
"EduSchoolId"
).
EduSchoolId
:
0
;
let
EduId
=
uni
.
getStorageSync
(
"jxhData"
)
?
uni
.
getStorageSync
(
"jxhData"
).
Id
:
0
;
that
.
request2
(
{
url
:
"/api/AppletLogin/Login"
,
...
...
@@ -945,6 +948,7 @@ export default {
CounponPassword
:
CounponPassword
,
KeyWord
:
KeyWord
,
EduSchoolId
:
EduSchoolId
,
EduId
:
EduId
,
},
},
(
res
)
=>
{
...
...
pages/user-center/user-center.vue
View file @
f15b022d
...
...
@@ -952,7 +952,8 @@
let
SmallShopId
=
uni
.
getStorageSync
(
"SmallShopId"
)
?
uni
.
getStorageSync
(
"SmallShopId"
).
SmallShopId
:
0
;
let
CounponPassword
=
uni
.
getStorageSync
(
"CounponPassword"
)
?
uni
.
getStorageSync
(
"CounponPassword"
).
CounponPassword
:
0
;
let
KeyWord
=
uni
.
getStorageSync
(
"KeyWord"
)
?
uni
.
getStorageSync
(
"KeyWord"
).
KeyWord
:
''
;
let
EduSchoolId
=
uni
.
getStorageSync
(
"EduSchoolId"
)
?
uni
.
getStorageSync
(
"EduSchoolId"
).
EduSchoolId
:
0
;
let
EduSchoolId
=
uni
.
getStorageSync
(
"EduSchoolId"
)
?
uni
.
getStorageSync
(
"EduSchoolId"
).
EduSchoolId
:
0
;
let
EduId
=
uni
.
getStorageSync
(
"jxhData"
)?
uni
.
getStorageSync
(
"jxhData"
).
Id
:
0
;
that
.
request2
({
url
:
'/api/AppletLogin/Login'
,
data
:
{
...
...
@@ -967,6 +968,7 @@
CounponPassword
:
CounponPassword
,
KeyWord
:
KeyWord
,
EduSchoolId
:
EduSchoolId
,
EduId
:
EduId
,
}
},
res
=>
{
...
...
plugin/api.js
View file @
f15b022d
...
...
@@ -3,8 +3,8 @@ export default {
Vue
.
prototype
.
host
=
"https://wx.weibaoge.cn/web/index.php?_mall_id=1285"
// Vue.prototype.host2 = "http://192.168.20.24:8200"
// Vue.prototype.host2 = "http://192.168.20.8
:8088"
Vue
.
prototype
.
host2
=
"https://mallApi.oytour.com"
Vue
.
prototype
.
host2
=
"http://192.168.10.02
:8088"
//
Vue.prototype.host2 = "https://mallApi.oytour.com"
Vue
.
prototype
.
UploadConfig
=
function
()
{
//本地上传配置
return
{
...
...
@@ -60,7 +60,8 @@ export default {
this
.
getLogin_t
(
u
)
}
}
else
if
(
res
.
data
.
resultCode
!=
1
)
{
if
(
res
.
data
.
message
!=
''
)
{
if
(
res
.
data
.
message
)
{
uni
.
showToast
({
title
:
res
.
data
.
message
,
icon
:
"none"
,
...
...
@@ -132,6 +133,7 @@ export default {
let
CounponPassword
=
uni
.
getStorageSync
(
"CounponPassword"
)
?
uni
.
getStorageSync
(
"CounponPassword"
).
CounponPassword
:
0
;
let
KeyWord
=
uni
.
getStorageSync
(
"KeyWord"
)
?
uni
.
getStorageSync
(
"KeyWord"
).
KeyWord
:
''
;
let
EduId
=
uni
.
getStorageSync
(
"jxhData"
)
?
uni
.
getStorageSync
(
"jxhData"
).
Id
:
0
;
this
.
request2
({
url
:
'/api/AppletLogin/Login'
,
data
:
{
...
...
@@ -145,6 +147,7 @@ export default {
UserPageType
:
Up
,
CounponPassword
:
CounponPassword
,
KeyWord
:
KeyWord
,
EduId
:
EduId
,
}
},
res
=>
{
...
...
@@ -162,7 +165,7 @@ export default {
// 获取小程序APPID
Vue
.
prototype
.
GetMiniAppId
=
function
()
{
let
appObj
=
{};
let
appType
=
1
;
let
appType
=
6
;
switch
(
appType
)
{
case
1
:
//赞羊
appObj
=
{
...
...
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