Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-boss
Project
Overview
Details
Activity
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
姜雷
wx-boss
Commits
d4e9115f
Commit
d4e9115f
authored
Nov 01, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
修改地址
parents
e7e35514
0ccb4bbd
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
26 deletions
+29
-26
constants.js
miniprogram/config/constants.js
+14
-14
constants.ts
miniprogram/config/constants.ts
+12
-12
home.js
miniprogram/pages/home/home.js
+0
-0
home.ts
miniprogram/pages/home/home.ts
+1
-0
index.js
miniprogram/pages/index/index.js
+0
-0
index.ts
miniprogram/pages/index/index.ts
+2
-0
No files found.
miniprogram/config/constants.js
View file @
d4e9115f
"use strict"
;
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
exports
.
devUrl
=
{
exports
.
devUrl
=
{
SYSTEM_SERVER_URL
:
'http://ex-dev-dcxy-system-manage.168cad.top'
,
SYSTEM_SERVER_URL
:
'http
s
://ex-dev-dcxy-system-manage.168cad.top'
,
STATISTICS_SERVER_URL
:
'http://ex-dev-dcxy-statistics-manage.168cad.top'
,
STATISTICS_SERVER_URL
:
'http
s
://ex-dev-dcxy-statistics-manage.168cad.top'
,
CUSTOMER_SERVER_URL
:
'http://ex-dev-customer-manage.168cad.top'
,
CUSTOMER_SERVER_URL
:
'http
s
://ex-dev-customer-manage.168cad.top'
,
BASE_SERVER_URL
:
'http://ex-dev-dcxy-base-manage.168cad.top'
,
BASE_SERVER_URL
:
'http
s
://ex-dev-dcxy-base-manage.168cad.top'
,
};
};
exports
.
testUrl
=
{
exports
.
testUrl
=
{
SYSTEM_SERVER_URL
:
'http://ex-test-dcxy-system-manage.168cad.top'
,
SYSTEM_SERVER_URL
:
'http
s
://ex-test-dcxy-system-manage.168cad.top'
,
STATISTICS_SERVER_URL
:
'http://ex-test-dcxy-statistics-manage.168cad.top'
,
STATISTICS_SERVER_URL
:
'http
s
://ex-test-dcxy-statistics-manage.168cad.top'
,
CUSTOMER_SERVER_URL
:
'http://ex-test-customer-manage.168cad.top'
,
CUSTOMER_SERVER_URL
:
'http
s
://ex-test-customer-manage.168cad.top'
,
BASE_SERVER_URL
:
'http://ex-test-dcxy-base-manage.168cad.top'
,
BASE_SERVER_URL
:
'http
s
://ex-test-dcxy-base-manage.168cad.top'
,
};
};
exports
.
masterUrl
=
{
exports
.
masterUrl
=
{
SYSTEM_SERVER_URL
:
'http://dcxy-system-manage.dcrym.com'
,
SYSTEM_SERVER_URL
:
'http
s
://dcxy-system-manage.dcrym.com'
,
STATISTICS_SERVER_URL
:
'http://dcxy-statistics-manage.dcrym.com'
,
STATISTICS_SERVER_URL
:
'http
s
://dcxy-statistics-manage.dcrym.com'
,
CUSTOMER_SERVER_URL
:
'http://dcxy-customer-manage.dcrym.com'
,
CUSTOMER_SERVER_URL
:
'http
s
://dcxy-customer-manage.dcrym.com'
,
BASE_SERVER_URL
:
'http://dcxy-base-manage.dcrym.com'
,
BASE_SERVER_URL
:
'http
s
://dcxy-base-manage.dcrym.com'
,
};
};
exports
.
successCode
=
1000
;
exports
.
successCode
=
1000
;
exports
.
logoutode
=
-
2
;
exports
.
logoutode
=
-
2
;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY29uc3RhbnRzLnRzIl0sIm5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uMTY4Y2FkLnRvcCcsXG59O1xuZXhwb3J0IGNvbnN0IHRlc3RVcmwgPSB7XG4gIFNZU1RFTV9TRVJWRVJfVVJMOiAnaHR0cHM6Ly9leC10ZXN0LWRjeHktc3lzdGVtLW1hbmFnZS4xNjhjYWQudG9wJyxcbiAgU1RBVElTVElDU19TRVJWRVJfVVJMOiAnaHR0cHM6Ly9leC10ZXN0LWRjeHktc3RhdGlzdGljcy1tYW5hZ2UuMTY4Y2FkLnRvcCcsXG4gIENVU1RPTUVSX1NFUlZFUl9VUkw6ICdodHRwczovL2V4LXRlc3QtY3VzdG9tZXItbWFuYWdlLjE2OGNhZC50b3AnLFxuICBCQVNFX1NFUlZFUl9VUkw6ICdodHRwczovL2V4LXRlc3QtZGN4eS1iYXNlLW1hbmFnZS4xNjhjYWQudG9wJyxcbn07XG5leHBvcnQgY29uc3QgbWFzdGVyVXJsID0ge1xuICBTWVNURU1fU0VSVkVSX1VSTDogJ2h0dHBzOi8vZGN4eS1zeXN0ZW0tbWFuYWdlLmRjcnltLmNvbScsXG4gIFNUQVRJU1RJQ1NfU0VSVkVSX1VSTDogJ2h0dHBzOi8vZGN4eS1zdGF0aXN0aWNzLW1hbmFnZS5kY3J5bS5jb20nLFxuICBDVVNUT01FUl9TRVJWRVJfVVJMOiAnaHR0cHM6Ly9kY3h5LWN1c3RvbWVyLW1hbmFnZS5kY3J5bS5jb20nLFxuICBCQVNFX1NFUlZFUl9VUkw6ICdodHRwczovL2RjeHktYmFzZS1tYW5hZ2UuZGNyeW0uY29tJyxcbn07XG5cbmV4cG9ydCBjb25zdCBzdWNjZXNzQ29kZSA9IDEwMDA7XG5leHBvcnQgY29uc3QgbG9nb3V0b2RlID0gLTI7XG4iXX0=
\ No newline at end of file
\ No newline at end of file
miniprogram/config/constants.ts
View file @
d4e9115f
export
const
devUrl
=
{
export
const
devUrl
=
{
SYSTEM_SERVER_URL
:
'http://ex-dev-dcxy-system-manage.168cad.top'
,
SYSTEM_SERVER_URL
:
'http
s
://ex-dev-dcxy-system-manage.168cad.top'
,
STATISTICS_SERVER_URL
:
'http://ex-dev-dcxy-statistics-manage.168cad.top'
,
STATISTICS_SERVER_URL
:
'http
s
://ex-dev-dcxy-statistics-manage.168cad.top'
,
CUSTOMER_SERVER_URL
:
'http://ex-dev-customer-manage.168cad.top'
,
CUSTOMER_SERVER_URL
:
'http
s
://ex-dev-customer-manage.168cad.top'
,
BASE_SERVER_URL
:
'http://ex-dev-dcxy-base-manage.168cad.top'
,
BASE_SERVER_URL
:
'http
s
://ex-dev-dcxy-base-manage.168cad.top'
,
};
};
export
const
testUrl
=
{
export
const
testUrl
=
{
SYSTEM_SERVER_URL
:
'http://ex-test-dcxy-system-manage.168cad.top'
,
SYSTEM_SERVER_URL
:
'http
s
://ex-test-dcxy-system-manage.168cad.top'
,
STATISTICS_SERVER_URL
:
'http://ex-test-dcxy-statistics-manage.168cad.top'
,
STATISTICS_SERVER_URL
:
'http
s
://ex-test-dcxy-statistics-manage.168cad.top'
,
CUSTOMER_SERVER_URL
:
'http://ex-test-customer-manage.168cad.top'
,
CUSTOMER_SERVER_URL
:
'http
s
://ex-test-customer-manage.168cad.top'
,
BASE_SERVER_URL
:
'http://ex-test-dcxy-base-manage.168cad.top'
,
BASE_SERVER_URL
:
'http
s
://ex-test-dcxy-base-manage.168cad.top'
,
};
};
export
const
masterUrl
=
{
export
const
masterUrl
=
{
SYSTEM_SERVER_URL
:
'http://dcxy-system-manage.dcrym.com'
,
SYSTEM_SERVER_URL
:
'http
s
://dcxy-system-manage.dcrym.com'
,
STATISTICS_SERVER_URL
:
'http://dcxy-statistics-manage.dcrym.com'
,
STATISTICS_SERVER_URL
:
'http
s
://dcxy-statistics-manage.dcrym.com'
,
CUSTOMER_SERVER_URL
:
'http://dcxy-customer-manage.dcrym.com'
,
CUSTOMER_SERVER_URL
:
'http
s
://dcxy-customer-manage.dcrym.com'
,
BASE_SERVER_URL
:
'http://dcxy-base-manage.dcrym.com'
,
BASE_SERVER_URL
:
'http
s
://dcxy-base-manage.dcrym.com'
,
};
};
export
const
successCode
=
1000
;
export
const
successCode
=
1000
;
...
...
miniprogram/pages/home/home.js
View file @
d4e9115f
This diff is collapsed.
Click to expand it.
miniprogram/pages/home/home.ts
View file @
d4e9115f
...
@@ -172,6 +172,7 @@ Component({
...
@@ -172,6 +172,7 @@ Component({
wx
.
hideLoading
();
wx
.
hideLoading
();
wx
.
showToast
({
wx
.
showToast
({
title
:
err
.
errMsg
,
title
:
err
.
errMsg
,
icon
:
'none'
,
});
});
console
.
log
(
err
);
console
.
log
(
err
);
});
});
...
...
miniprogram/pages/index/index.js
View file @
d4e9115f
This diff is collapsed.
Click to expand it.
miniprogram/pages/index/index.ts
View file @
d4e9115f
...
@@ -26,12 +26,14 @@ Page({
...
@@ -26,12 +26,14 @@ Page({
if
(
!
account
)
{
if
(
!
account
)
{
wx
.
showToast
({
wx
.
showToast
({
title
:
'请输入账户'
,
title
:
'请输入账户'
,
icon
:
'none'
,
});
});
return
;
return
;
}
}
if
(
!
pwd
)
{
if
(
!
pwd
)
{
wx
.
showToast
({
wx
.
showToast
({
title
:
'请输入密码'
,
title
:
'请输入密码'
,
icon
:
'none'
,
});
});
return
;
return
;
}
}
...
...
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