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
57e44cc5
Commit
57e44cc5
authored
Dec 03, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b4f8918f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
11 deletions
+13
-11
index.vue
pages/microShop/index/index.vue
+0
-1
share_qrcode.vue
pages/reserve/share_qrcode.vue
+0
-1
share-qrcode.vue
pages/share-qrcode/share-qrcode.vue
+0
-1
api.js
plugin/api.js
+13
-8
No files found.
pages/microShop/index/index.vue
View file @
57e44cc5
...
...
@@ -434,7 +434,6 @@
(
res
)
=>
{
uni
.
hideNavigationBarLoading
()
that
.
fenxqrcode
=
that
.
host2
+
res
.
data
;
// that.fenxqrcode = 'http://192.168.2.16:8088/upfile/temporary/d259ce3f-eee3-4c20-976d-4d054f6f16b3.jpg';
console
.
log
(
that
.
fenxqrcode
)
}
);
...
...
pages/reserve/share_qrcode.vue
View file @
57e44cc5
...
...
@@ -84,7 +84,6 @@
console
.
log
(
res
,
'weixin数据'
);
uni
.
hideNavigationBarLoading
()
that
.
fenxqrcode
=
that
.
host2
+
res
.
data
;
// that.fenxqrcode = 'https://mallapi.oytour.com/upfile/temporary/864369a3-8da8-4735-bcc8-a2dfe5c6f357.jpg'
console
.
log
(
that
.
fenxqrcode
,
'fenxqrcode'
)
let
tmpTimeout
=
setTimeout
(()
=>
{
that
.
drawCtx
();
...
...
pages/share-qrcode/share-qrcode.vue
View file @
57e44cc5
...
...
@@ -129,7 +129,6 @@
// console.log(103,this.EduSchoolId)
uni
.
hideNavigationBarLoading
()
that
.
fenxqrcode
=
that
.
host2
+
res
.
data
;
// that.fenxqrcode = 'https://mallapi.oytour.com/upfile/temporary/864369a3-8da8-4735-bcc8-a2dfe5c6f357.jpg'
console
.
log
(
that
.
fenxqrcode
)
let
tmpTimeout
=
setTimeout
(()
=>
{
that
.
drawCtx
();
...
...
plugin/api.js
View file @
57e44cc5
export
default
{
install
(
Vue
,
options
)
{
Vue
.
prototype
.
host
=
"https://wx.weibaoge.cn/web/index.php?_mall_id=1285"
//Vue.prototype.host2 = "http://192.168.10.128:8200"
//Vue.prototype.host3 = "http://192.168.10.128:8900"//本地
Vue
.
prototype
.
host2
=
"https://mallApi.oytour.com"
//测试
//Vue.prototype.host2 = "http://192.168.10.68:8200"
//进阶思维后台地址
//Vue.prototype.host3 = "http://192.168.10.128:8900"//本地
Vue
.
prototype
.
host3
=
"https://jjeduapi.oytour.com"
//测试
Vue
.
prototype
.
host2
=
"https://mallApi.oytour.com"
//电商接口
//Vue.prototype.host2 = "http://192.168.5.46:5000"
Vue
.
prototype
.
host3
=
"https://jjeduapi.oytour.com"
//进阶小课堂以前接口
Vue
.
prototype
.
UploadConfig
=
function
()
{
//本地上传配置
return
{
UploadUrl
:
this
.
host2
.
indexOf
(
'mallApi'
)
!=
-
1
?
"https://upload.oytour.com/Upload/AppUpload"
:
"http://192.168.20.214:8120/Upload/AppUpload"
,
...
...
@@ -210,7 +208,7 @@ export default {
// 获取小程序APPID
Vue
.
prototype
.
GetMiniAppId
=
function
()
{
let
appObj
=
{};
let
appType
=
1
4
;
let
appType
=
1
5
;
switch
(
appType
)
{
case
1
:
//赞羊
appObj
=
{
...
...
@@ -311,6 +309,13 @@ export default {
MallBaseId
:
19
,
};
break
;
case
15
:
appObj
=
{
//宜宾商载通
AppId
:
'wxaeb077c07ed6f30d'
,
TenantId
:
30
,
MallBaseId
:
20
,
};
break
;
}
return
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