记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
8dfade45
Commit
8dfade45
authored
Jul 23, 2022
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~env.code.valid;
parent
43a807b0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
AdminUpushServiceImpl.java
...in/zhengzai/admin/service/impl/AdminUpushServiceImpl.java
+2
-2
AdamLoginController.java
...iquidnet/service/adam/controller/AdamLoginController.java
+1
-1
AdamUserController.java
...liquidnet/service/adam/controller/AdamUserController.java
+1
-1
KylinStationController.java
...dnet/service/kylin/controller/KylinStationController.java
+1
-1
ShunfengSignUtils.java
...m/liquidnet/service/platform/utils/ShunfengSignUtils.java
+1
-1
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/admin/service/impl/AdminUpushServiceImpl.java
View file @
8dfade45
...
@@ -232,7 +232,7 @@ public class AdminUpushServiceImpl extends ServiceImpl<AdminUpushMapper, AdminUp
...
@@ -232,7 +232,7 @@ public class AdminUpushServiceImpl extends ServiceImpl<AdminUpushMapper, AdminUp
String
custom
=
UpushTargetType
.
getTypeAction
(
adminUpush
.
getJumpType
());
String
custom
=
UpushTargetType
.
getTypeAction
(
adminUpush
.
getJumpType
());
broadcast
.
goCustomAfterOpen
(
custom
);
broadcast
.
goCustomAfterOpen
(
custom
);
broadcast
.
setDisplayType
(
AndroidNotification
.
DisplayType
.
NOTIFICATION
);
broadcast
.
setDisplayType
(
AndroidNotification
.
DisplayType
.
NOTIFICATION
);
if
(
Arrays
.
asList
(
LnsEnum
.
ENV
.
dev
.
name
(),
LnsEnum
.
ENV
.
test
.
name
()).
contain
s
(
environment
.
getProperty
(
CurrentUtil
.
CK_ENV_ACTIVE
)))
{
if
(
!
LnsEnum
.
ENV
.
prod
.
name
().
equal
s
(
environment
.
getProperty
(
CurrentUtil
.
CK_ENV_ACTIVE
)))
{
broadcast
.
setTestMode
();
broadcast
.
setTestMode
();
}
else
{
}
else
{
broadcast
.
setProductionMode
();
broadcast
.
setProductionMode
();
...
@@ -296,7 +296,7 @@ public class AdminUpushServiceImpl extends ServiceImpl<AdminUpushMapper, AdminUp
...
@@ -296,7 +296,7 @@ public class AdminUpushServiceImpl extends ServiceImpl<AdminUpushMapper, AdminUp
broadcast
.
setAlert
(
adminUpush
.
getPushTitle
(),
""
,
adminUpush
.
getPushContent
());
broadcast
.
setAlert
(
adminUpush
.
getPushTitle
(),
""
,
adminUpush
.
getPushContent
());
broadcast
.
setBadge
(
1
);
broadcast
.
setBadge
(
1
);
broadcast
.
setSound
(
"default"
);
broadcast
.
setSound
(
"default"
);
if
(
Arrays
.
asList
(
LnsEnum
.
ENV
.
dev
.
name
(),
LnsEnum
.
ENV
.
test
.
name
()).
contain
s
(
environment
.
getProperty
(
CurrentUtil
.
CK_ENV_ACTIVE
)))
{
if
(
!
LnsEnum
.
ENV
.
prod
.
name
().
equal
s
(
environment
.
getProperty
(
CurrentUtil
.
CK_ENV_ACTIVE
)))
{
broadcast
.
setTestMode
();
broadcast
.
setTestMode
();
}
else
{
}
else
{
broadcast
.
setProductionMode
();
broadcast
.
setProductionMode
();
...
...
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/java/com/liquidnet/service/adam/controller/AdamLoginController.java
View file @
8dfade45
...
@@ -444,7 +444,7 @@ public class AdamLoginController {
...
@@ -444,7 +444,7 @@ public class AdamLoginController {
/* ---------------------------- Internal Method ---------------------------- */
/* ---------------------------- Internal Method ---------------------------- */
private
ResponseDto
<
AdamLoginInfoVo
>
checkSmsCode
(
String
mobile
,
String
code
)
{
private
ResponseDto
<
AdamLoginInfoVo
>
checkSmsCode
(
String
mobile
,
String
code
)
{
if
(
Arrays
.
asList
(
LnsEnum
.
ENV
.
dev
.
name
(),
LnsEnum
.
ENV
.
test
.
name
()).
contain
s
(
env
.
getProperty
(
CurrentUtil
.
CK_ENV_ACTIVE
))
if
(
!
LnsEnum
.
ENV
.
prod
.
name
().
equal
s
(
env
.
getProperty
(
CurrentUtil
.
CK_ENV_ACTIVE
))
||
reviewMobile
.
equals
(
mobile
))
{
||
reviewMobile
.
equals
(
mobile
))
{
if
(
CurrentUtil
.
GRAY_LOGIN_SMS_CODE
.
equals
(
code
))
{
if
(
CurrentUtil
.
GRAY_LOGIN_SMS_CODE
.
equals
(
code
))
{
return
ResponseDto
.
success
();
return
ResponseDto
.
success
();
...
...
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/java/com/liquidnet/service/adam/controller/AdamUserController.java
View file @
8dfade45
...
@@ -508,7 +508,7 @@ public class AdamUserController {
...
@@ -508,7 +508,7 @@ public class AdamUserController {
private
static
final
String
PHP_API_SMS_CODE_VALID
=
"/smsValidation"
;
private
static
final
String
PHP_API_SMS_CODE_VALID
=
"/smsValidation"
;
private
ResponseDto
<
String
>
checkSmsCode
(
String
mobile
,
String
code
)
{
private
ResponseDto
<
String
>
checkSmsCode
(
String
mobile
,
String
code
)
{
if
(
Arrays
.
asList
(
LnsEnum
.
ENV
.
dev
.
name
(),
LnsEnum
.
ENV
.
test
.
name
()).
contain
s
(
env
.
getProperty
(
CurrentUtil
.
CK_ENV_ACTIVE
))
if
(
!
LnsEnum
.
ENV
.
prod
.
name
().
equal
s
(
env
.
getProperty
(
CurrentUtil
.
CK_ENV_ACTIVE
))
&&
CurrentUtil
.
GRAY_LOGIN_SMS_CODE
.
equals
(
code
))
{
&&
CurrentUtil
.
GRAY_LOGIN_SMS_CODE
.
equals
(
code
))
{
return
ResponseDto
.
success
();
return
ResponseDto
.
success
();
}
}
...
...
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/controller/KylinStationController.java
View file @
8dfade45
...
@@ -467,7 +467,7 @@ public class KylinStationController {
...
@@ -467,7 +467,7 @@ public class KylinStationController {
}
}
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
"20602"
));
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
"20602"
));
}
else
{
// 校验验证码
}
else
{
// 校验验证码
if
(
Arrays
.
asList
(
LnsEnum
.
ENV
.
dev
.
name
(),
LnsEnum
.
ENV
.
test
.
name
()).
contain
s
(
environment
.
getProperty
(
CurrentUtil
.
CK_ENV_ACTIVE
)))
{
if
(
!
LnsEnum
.
ENV
.
prod
.
name
().
equal
s
(
environment
.
getProperty
(
CurrentUtil
.
CK_ENV_ACTIVE
)))
{
if
(
CurrentUtil
.
GRAY_LOGIN_SMS_CODE
.
equals
(
identity
))
{
if
(
CurrentUtil
.
GRAY_LOGIN_SMS_CODE
.
equals
(
identity
))
{
return
this
.
loginAuthentication
(
checkUserVo
);
return
this
.
loginAuthentication
(
checkUserVo
);
}
}
...
...
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/utils/ShunfengSignUtils.java
View file @
8dfade45
...
@@ -112,7 +112,7 @@ public class ShunfengSignUtils {
...
@@ -112,7 +112,7 @@ public class ShunfengSignUtils {
* @return
* @return
*/
*/
public
boolean
receiveRequestAndCheckSign
(
String
params
,
HttpServletRequest
request
)
{
public
boolean
receiveRequestAndCheckSign
(
String
params
,
HttpServletRequest
request
)
{
if
(
Arrays
.
asList
(
LnsEnum
.
ENV
.
dev
.
name
(),
LnsEnum
.
ENV
.
test
.
name
()).
contain
s
(
environment
.
getProperty
(
CurrentUtil
.
CK_ENV_ACTIVE
)))
{
if
(
!
LnsEnum
.
ENV
.
prod
.
name
().
equal
s
(
environment
.
getProperty
(
CurrentUtil
.
CK_ENV_ACTIVE
)))
{
return
true
;
return
true
;
}
}
log
.
debug
(
"params {}"
,
params
);
log
.
debug
(
"params {}"
,
params
);
...
...
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