Browse Source

[微信第三方登录][修改]:审核提交默认不检查type

release_toaliyun_real
Stormeye Wu 7 years ago
parent
commit
0ea51bcace
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      mallinkWechatOpen/src/main/java/com/iformall/controller/WxWeappInfoController.java

+ 5
- 2
mallinkWechatOpen/src/main/java/com/iformall/controller/WxWeappInfoController.java View File

@@ -421,9 +421,12 @@ public class WxWeappInfoController extends BaseController {
try {
type = Integer.parseInt(typeStr);
} catch (Exception e) {
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR);
logger.error("小程序类型");
}
if(StringUtils.isBlank(appsStr)) {
if(type == null) {
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL);
}
WxWeappInfo authQ = new WxWeappInfo();
authQ.setType(type);
List<WxWeappInfo> appList = authorizerInfoService.getList(authQ);
@@ -715,7 +718,7 @@ public class WxWeappInfoController extends BaseController {
return new ResultData();
}

@ApiOperation(value = "批量发布", notes = "{\"version\":\"string\"}")
@ApiOperation(value = "批量发布", notes = "{\"type\":\"string\", \"version\":\"string\"}")
@PostMapping("batchRelease")
public ResultData batchRelease(@RequestBody Map<String, String> params) {
logger.debug("[" + getIpAddr() + "] WxWeappInfoController::batchRelease");


Loading…
Cancel
Save