删除不必要的代码

master
yiming 3 years ago
parent 3b887f8463
commit d518e5fbcc

@ -21,20 +21,5 @@ import java.io.IOException;
@Slf4j @Slf4j
public class AppCenterController { public class AppCenterController {
@Value("${userUrl}")
private String userUrl;
@GetMapping("/userCenter")
@ApiOperation(value = "用户中心")
public Result<IndexVO> userCenter() {
Result result = null;
try {
String res = HttpUtil.doGet(userUrl+"/api/app/userCenter");
result = JSONObject.parseObject(res,Result.class);
} catch (IOException e) {
log.error("请求用户中心地址失败:{}",e);
Assert.isTrue(false,"请求用户中心地址失败");
}
return result;
}
} }

@ -21,8 +21,6 @@ spring:
server: server:
port: 8099 port: 8099
#-------------- #--------------
# ------用户中心地址
userUrl: http://115.236.65.98:11001
# ----------- # -----------
# ----默认摄像头的连接信息 # ----默认摄像头的连接信息
cameraConfig: cameraConfig:

@ -21,8 +21,6 @@ spring:
server: server:
port: 8099 port: 8099
#-------------- #--------------
# ------用户中心地址
userUrl: http://115.236.65.98:11001
# ----------- # -----------
# ----默认摄像头的连接信息 # ----默认摄像头的连接信息
cameraConfig: cameraConfig:

@ -21,8 +21,6 @@ spring:
server: server:
port: 8099 port: 8099
#-------------- #--------------
# ------用户中心地址
userUrl: http://115.236.65.98:11001
# ----------- # -----------
# ----默认摄像头的连接信息 # ----默认摄像头的连接信息
cameraConfig: cameraConfig:

Loading…
Cancel
Save