Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
6984f1dd
Commit
6984f1dd
authored
Apr 10, 2020
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
g
parent
f83c455e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
bpo-web/app/base/controller/impl/userCtl.js
+3
-2
bpo-web/app/config/settings.js
+1
-1
No files found.
bpo-web/app/base/controller/impl/userCtl.js
View file @
6984f1dd
...
@@ -914,7 +914,7 @@ class UserCtl extends CtlBase {
...
@@ -914,7 +914,7 @@ class UserCtl extends CtlBase {
}
}
}
}
var
domain
=
"http://
192.168.18.125:3000
"
;
var
domain
=
"http://
bpohhr.gongsibao.com
"
;
var
arr
=
[];
var
arr
=
[];
if
(
!
appId
)
{
if
(
!
appId
)
{
return
domain
+
"/errpage?errmsg="
+
encodeURIComponent
(
encodeURIComponent
(
"未配置appId"
));
return
domain
+
"/errpage?errmsg="
+
encodeURIComponent
(
encodeURIComponent
(
"未配置appId"
));
...
@@ -928,7 +928,8 @@ class UserCtl extends CtlBase {
...
@@ -928,7 +928,8 @@ class UserCtl extends CtlBase {
}
else
if
(
userCode
&&
!
branchCode
)
{
}
else
if
(
userCode
&&
!
branchCode
)
{
openId
=
appId
+
"_3rduser_"
+
userCode
openId
=
appId
+
"_3rduser_"
+
userCode
}
else
{
}
else
{
return
domain
+
"/errpage?errmsg="
+
encodeURIComponent
(
encodeURIComponent
(
"用户唯一标识未传入"
));
openId
=
appId
+
"_"
+
uuidv4
();
// return domain + "/errpage?errmsg=" + encodeURIComponent(encodeURIComponent("用户唯一标识未传入"));
}
}
var
homePage
=
settings
.
apiconfig
.
sign3rdHomePage
();
var
homePage
=
settings
.
apiconfig
.
sign3rdHomePage
();
...
...
bpo-web/app/config/settings.js
View file @
6984f1dd
...
@@ -102,7 +102,7 @@ var settings = {
...
@@ -102,7 +102,7 @@ var settings = {
sign3rdHomePage
:
function
()
{
sign3rdHomePage
:
function
()
{
if
(
settings
.
env
==
"dev"
)
{
if
(
settings
.
env
==
"dev"
)
{
return
"http://1
92.168.18.125:3000
/h5"
;
return
"http://1
27.0.0.1:3333
/h5"
;
}
else
{
}
else
{
return
"https://bpohhr.gongsibao.com/h5"
;
return
"https://bpohhr.gongsibao.com/h5"
;
}
}
...
...
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