fix:newcode端口
This commit is contained in:
@@ -28,7 +28,7 @@ public class CodeUtil {
|
||||
String flag = "1";
|
||||
HashMap<String, String> map = new HashMap<>();
|
||||
map.put("flag", flag);
|
||||
String code = HttpUtil.get("http://127.0.0.1:8013/api/codeDetail/getNewCode?code=" + ruleCode + "&flag=" + flag);
|
||||
String code = HttpUtil.get("http://127.0.0.1:8011/api/codeDetail/getNewCode?code=" + ruleCode + "&flag=" + flag);
|
||||
if (code.contains("status")){
|
||||
throw new BadRequestException(code);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user