dev环境配置以及toolcontrol报错解决
This commit is contained in:
parent
73735597ad
commit
f22ab0c333
@ -53,7 +53,7 @@ server:
|
||||
spring:
|
||||
# 环境配置,dev=开发环境,prod=生产环境
|
||||
profiles:
|
||||
active: dev # 环境配置,dev=开发环境,prod=生产环境
|
||||
active: prod # 环境配置,dev=开发环境,prod=生产环境
|
||||
# 资源信息
|
||||
messages:
|
||||
# 国际化资源文件路径
|
||||
|
@ -277,6 +277,12 @@ public class ToolController extends BaseController {
|
||||
if (clientid.startsWith("server") || clientid.startsWith("web") || clientid.startsWith("phone")) {
|
||||
return;
|
||||
}
|
||||
// 特殊处理 clientid
|
||||
if ("abcdefghi".equals(clientid)) {
|
||||
// 这里写你的特殊处理逻辑
|
||||
log.info("特殊处理 clientid: {}", clientid);
|
||||
return;
|
||||
}
|
||||
// 设备端认证:加密认证(E)和简单认证(S,配置的账号密码认证)
|
||||
String[] clientArray = clientid.split("&");
|
||||
String deviceNumber = clientArray[1];
|
||||
|
Loading…
x
Reference in New Issue
Block a user