Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cncc-applet
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
shelton
cncc-applet
Commits
5350ac64
Commit
5350ac64
authored
Aug 25, 2021
by
shelton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小程序
parent
72916531
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
public.js
utils/public.js
+2
-1
util.js
utils/util.js
+2
-1
No files found.
utils/public.js
View file @
5350ac64
const
getUserId
=
code
=>
{
wx
.
request
({
url
:
'https://cnccgw.letus100.com/wechat/user/wxMini/login'
,
//url: 'https://cnccgw.letus100.com/wechat/user/wxMini/login',
url
:
'https://cnccgw.xygax.cn/wechat/user/wxMini/login'
,
method
:
"post"
,
header
:
{
apiKey
:
'cncc010101'
...
...
utils/util.js
View file @
5350ac64
...
...
@@ -49,7 +49,8 @@ const formatNumber = n => {
/* 公共request 方法 */
//const BaseUrl="https://cnccgw.obaordae.com"
const
BaseUrl
=
"https://cnccgw.letus100.com"
//const BaseUrl = "https://cnccgw.letus100.com"
const
BaseUrl
=
"https://cnccgw.xygax.cn"
const
http
=
({
url
=
''
,
param
=
{},
...
...
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