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
Show 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
pages/index/index.vue
View file @
f15b022d
...
@@ -930,6 +930,9 @@ export default {
...
@@ -930,6 +930,9 @@ export default {
let
EduSchoolId
=
uni
.
getStorageSync
(
"EduSchoolId"
)
let
EduSchoolId
=
uni
.
getStorageSync
(
"EduSchoolId"
)
?
uni
.
getStorageSync
(
"EduSchoolId"
).
EduSchoolId
?
uni
.
getStorageSync
(
"EduSchoolId"
).
EduSchoolId
:
0
;
:
0
;
let
EduId
=
uni
.
getStorageSync
(
"jxhData"
)
?
uni
.
getStorageSync
(
"jxhData"
).
Id
:
0
;
that
.
request2
(
that
.
request2
(
{
{
url
:
"/api/AppletLogin/Login"
,
url
:
"/api/AppletLogin/Login"
,
...
@@ -945,6 +948,7 @@ export default {
...
@@ -945,6 +948,7 @@ export default {
CounponPassword
:
CounponPassword
,
CounponPassword
:
CounponPassword
,
KeyWord
:
KeyWord
,
KeyWord
:
KeyWord
,
EduSchoolId
:
EduSchoolId
,
EduSchoolId
:
EduSchoolId
,
EduId
:
EduId
,
},
},
},
},
(
res
)
=>
{
(
res
)
=>
{
...
...
pages/user-center/user-center.vue
View file @
f15b022d
...
@@ -953,6 +953,7 @@
...
@@ -953,6 +953,7 @@
let
CounponPassword
=
uni
.
getStorageSync
(
"CounponPassword"
)
?
uni
.
getStorageSync
(
"CounponPassword"
).
CounponPassword
:
0
;
let
CounponPassword
=
uni
.
getStorageSync
(
"CounponPassword"
)
?
uni
.
getStorageSync
(
"CounponPassword"
).
CounponPassword
:
0
;
let
KeyWord
=
uni
.
getStorageSync
(
"KeyWord"
)
?
uni
.
getStorageSync
(
"KeyWord"
).
KeyWord
:
''
;
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
({
that
.
request2
({
url
:
'/api/AppletLogin/Login'
,
url
:
'/api/AppletLogin/Login'
,
data
:
{
data
:
{
...
@@ -967,6 +968,7 @@
...
@@ -967,6 +968,7 @@
CounponPassword
:
CounponPassword
,
CounponPassword
:
CounponPassword
,
KeyWord
:
KeyWord
,
KeyWord
:
KeyWord
,
EduSchoolId
:
EduSchoolId
,
EduSchoolId
:
EduSchoolId
,
EduId
:
EduId
,
}
}
},
},
res
=>
{
res
=>
{
...
...
plugin/api.js
View file @
f15b022d
...
@@ -3,8 +3,8 @@ export default {
...
@@ -3,8 +3,8 @@ export default {
Vue
.
prototype
.
host
=
"https://wx.weibaoge.cn/web/index.php?_mall_id=1285"
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.24:8200"
// Vue.prototype.host2 = "http://192.168.20.8
:8088"
Vue
.
prototype
.
host2
=
"http://192.168.10.02
:8088"
Vue
.
prototype
.
host2
=
"https://mallApi.oytour.com"
//
Vue.prototype.host2 = "https://mallApi.oytour.com"
Vue
.
prototype
.
UploadConfig
=
function
()
{
//本地上传配置
Vue
.
prototype
.
UploadConfig
=
function
()
{
//本地上传配置
return
{
return
{
...
@@ -60,7 +60,8 @@ export default {
...
@@ -60,7 +60,8 @@ export default {
this
.
getLogin_t
(
u
)
this
.
getLogin_t
(
u
)
}
}
}
else
if
(
res
.
data
.
resultCode
!=
1
)
{
}
else
if
(
res
.
data
.
resultCode
!=
1
)
{
if
(
res
.
data
.
message
!=
''
)
{
if
(
res
.
data
.
message
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
res
.
data
.
message
,
title
:
res
.
data
.
message
,
icon
:
"none"
,
icon
:
"none"
,
...
@@ -132,6 +133,7 @@ export default {
...
@@ -132,6 +133,7 @@ export default {
let
CounponPassword
=
uni
.
getStorageSync
(
"CounponPassword"
)
?
uni
.
getStorageSync
(
"CounponPassword"
).
CounponPassword
:
let
CounponPassword
=
uni
.
getStorageSync
(
"CounponPassword"
)
?
uni
.
getStorageSync
(
"CounponPassword"
).
CounponPassword
:
0
;
0
;
let
KeyWord
=
uni
.
getStorageSync
(
"KeyWord"
)
?
uni
.
getStorageSync
(
"KeyWord"
).
KeyWord
:
''
;
let
KeyWord
=
uni
.
getStorageSync
(
"KeyWord"
)
?
uni
.
getStorageSync
(
"KeyWord"
).
KeyWord
:
''
;
let
EduId
=
uni
.
getStorageSync
(
"jxhData"
)
?
uni
.
getStorageSync
(
"jxhData"
).
Id
:
0
;
this
.
request2
({
this
.
request2
({
url
:
'/api/AppletLogin/Login'
,
url
:
'/api/AppletLogin/Login'
,
data
:
{
data
:
{
...
@@ -145,6 +147,7 @@ export default {
...
@@ -145,6 +147,7 @@ export default {
UserPageType
:
Up
,
UserPageType
:
Up
,
CounponPassword
:
CounponPassword
,
CounponPassword
:
CounponPassword
,
KeyWord
:
KeyWord
,
KeyWord
:
KeyWord
,
EduId
:
EduId
,
}
}
},
},
res
=>
{
res
=>
{
...
@@ -162,7 +165,7 @@ export default {
...
@@ -162,7 +165,7 @@ export default {
// 获取小程序APPID
// 获取小程序APPID
Vue
.
prototype
.
GetMiniAppId
=
function
()
{
Vue
.
prototype
.
GetMiniAppId
=
function
()
{
let
appObj
=
{};
let
appObj
=
{};
let
appType
=
1
;
let
appType
=
6
;
switch
(
appType
)
{
switch
(
appType
)
{
case
1
:
//赞羊
case
1
:
//赞羊
appObj
=
{
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