Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lumastoreapp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xieyishang
lumastoreapp
Commits
06f90d83
Commit
06f90d83
authored
Aug 23, 2021
by
xieyishang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11~
parent
017e0382
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
8 deletions
+15
-8
.hbuilderx/launch.json
.hbuilderx/launch.json
+10
-5
manifest.json
manifest.json
+2
-2
utils/request.js
utils/request.js
+3
-1
No files found.
.hbuilderx/launch.json
View file @
06f90d83
...
...
@@ -2,10 +2,15 @@
//
launchtype项可配置值为local或remote
,
local代表前端连本地云函数,remote代表前端连云端云函数
"version"
:
"0.0"
,
"configurations"
:
[{
"type"
:
"uniCloud"
,
"default"
:
{
"launchtype"
:
"remote"
}
}
"default"
:
{
"launchtype"
:
"remote"
},
"h5"
:
{
"launchtype"
:
"remote"
},
"type"
:
"uniCloud"
}
]
}
manifest.json
View file @
06f90d83
...
...
@@ -2,8 +2,8 @@
"name"
:
"鹿马商家助手"
,
"appid"
:
"__UNI__1EA80F1"
,
//这个是
web
的
"description"
:
"商家"
,
"versionName"
:
"1.15
5
"
,
"versionCode"
:
115
5
,
"versionName"
:
"1.15
6
"
,
"versionCode"
:
115
6
,
"transformPx"
:
false
,
"compatible"
:
{
"ignoreVersion"
:
true
//
true
表示忽略版本检查提示框,HBuilderX
1.9
.
0
及以上版本支持
...
...
utils/request.js
View file @
06f90d83
...
...
@@ -109,7 +109,9 @@ export default function request(api, method, data, {noAuth = false, noVerify = f
// data.token = "be09eb9024822c33f0a02632d77b5226---";
// data.token = store.state.token;//有token 需要把token 带上
}
console
.
info
(
"
-----------------------------------
"
);
console
.
info
(
data
);
console
.
info
(
"
-----------------------------------
"
);
return
new
Promise
((
reslove
,
reject
)
=>
{
uni
.
request
({
url
:
Url
+
api
,
...
...
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