|
|
|
@ -32,7 +32,7 @@ public class AIGuidanceAction extends BaseAction { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Action("getAllHospInfo") |
|
|
|
@Action("getAllHospInfo") |
|
|
|
public Result getAllHospInfo() { |
|
|
|
public Result getAllHospInfo() { |
|
|
|
if (!AIGuidanceConfig.isVerifySign(request)) { |
|
|
|
if (!AIGuidanceConfig.IS_DEV && !AIGuidanceConfig.isVerifySign(request)) { |
|
|
|
return Result.error(ResultEnum.SIGN_ERROR); // 签名异常
|
|
|
|
return Result.error(ResultEnum.SIGN_ERROR); // 签名异常
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -50,7 +50,7 @@ public class AIGuidanceAction extends BaseAction { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Action("getHospDetail") |
|
|
|
@Action("getHospDetail") |
|
|
|
public Result getHospDetail(String hosId) { |
|
|
|
public Result getHospDetail(String hosId) { |
|
|
|
if (!AIGuidanceConfig.isVerifySign(request)) { |
|
|
|
if (!AIGuidanceConfig.IS_DEV && !AIGuidanceConfig.isVerifySign(request)) { |
|
|
|
return Result.error(ResultEnum.SIGN_ERROR); // 签名异常
|
|
|
|
return Result.error(ResultEnum.SIGN_ERROR); // 签名异常
|
|
|
|
} |
|
|
|
} |
|
|
|
return new AIGuidanceService().getHospDetail(hosId); |
|
|
|
return new AIGuidanceService().getHospDetail(hosId); |
|
|
|
@ -61,7 +61,7 @@ public class AIGuidanceAction extends BaseAction { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Action("getDeptList") |
|
|
|
@Action("getDeptList") |
|
|
|
public Result getDeptList(String hosId, String branchId) { |
|
|
|
public Result getDeptList(String hosId, String branchId) { |
|
|
|
if (!AIGuidanceConfig.isVerifySign(request)) { |
|
|
|
if (!AIGuidanceConfig.IS_DEV && !AIGuidanceConfig.isVerifySign(request)) { |
|
|
|
return Result.error(ResultEnum.SIGN_ERROR); // 签名异常
|
|
|
|
return Result.error(ResultEnum.SIGN_ERROR); // 签名异常
|
|
|
|
} |
|
|
|
} |
|
|
|
return new AIGuidanceService().getDeptList(hosId, branchId); |
|
|
|
return new AIGuidanceService().getDeptList(hosId, branchId); |
|
|
|
@ -72,7 +72,7 @@ public class AIGuidanceAction extends BaseAction { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Action("getDoctorList") |
|
|
|
@Action("getDoctorList") |
|
|
|
public Result getDoctorList(String hosId, String branchId, String deptId) { |
|
|
|
public Result getDoctorList(String hosId, String branchId, String deptId) { |
|
|
|
if (!AIGuidanceConfig.isVerifySign(request)) { |
|
|
|
if (!AIGuidanceConfig.IS_DEV && !AIGuidanceConfig.isVerifySign(request)) { |
|
|
|
return Result.error(ResultEnum.SIGN_ERROR); // 签名异常
|
|
|
|
return Result.error(ResultEnum.SIGN_ERROR); // 签名异常
|
|
|
|
} |
|
|
|
} |
|
|
|
return new AIGuidanceService().getDoctorList(hosId, branchId, deptId); |
|
|
|
return new AIGuidanceService().getDoctorList(hosId, branchId, deptId); |
|
|
|
|