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
d9bfff91
Commit
d9bfff91
authored
Jul 25, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
0958ff95
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
api.js
plugin/api.js
+5
-4
No files found.
plugin/api.js
View file @
d9bfff91
...
@@ -2,8 +2,8 @@ export default {
...
@@ -2,8 +2,8 @@ export default {
install
(
Vue
,
options
)
{
install
(
Vue
,
options
)
{
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.10.11:8088
"
Vue
.
prototype
.
host2
=
"http://192.168.10.02:8088
"
// Vue.prototype.host2 = "http://192.168.10.46:8200
"
// Vue.prototype.host2 = "https://mallApi.oytour.com"
// Vue.prototype.host2 = "https://mallApi.oytour.com"
Vue
.
prototype
.
UploadConfig
=
function
()
{
//本地上传配置
Vue
.
prototype
.
UploadConfig
=
function
()
{
//本地上传配置
...
@@ -165,7 +165,7 @@ export default {
...
@@ -165,7 +165,7 @@ export default {
// 获取小程序APPID
// 获取小程序APPID
Vue
.
prototype
.
GetMiniAppId
=
function
()
{
Vue
.
prototype
.
GetMiniAppId
=
function
()
{
let
appObj
=
{};
let
appObj
=
{};
let
appType
=
6
;
let
appType
=
8
;
switch
(
appType
)
{
switch
(
appType
)
{
case
1
:
//赞羊
case
1
:
//赞羊
appObj
=
{
appObj
=
{
...
@@ -218,7 +218,8 @@ export default {
...
@@ -218,7 +218,8 @@ export default {
break
;
break
;
case
8
:
case
8
:
appObj
=
{
//恋爱星球
appObj
=
{
//恋爱星球
AppId
:
'wx681f8ad58e6c48e4'
,
// wx681f8ad58e6c48e4
AppId
:
'wx974a776429e03ee6'
,
TenantId
:
21
,
TenantId
:
21
,
MallBaseId
:
11
,
MallBaseId
:
11
,
};
};
...
...
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