|
|
|
@@ -175,14 +175,14 @@ public class WxAppinfoController extends BaseController { |
|
|
|
// return new ResultData(ErrorCode.SYS_PARAMETER_ERROR); |
|
|
|
// } |
|
|
|
WxAppinfo cAppInfo = wxAppinfoService.getCAppInfoFromRedis(ifParentUpdateAloneTenantInfo().getTenantId(), null); |
|
|
|
return new ResultData(cAppInfo); |
|
|
|
return new ResultData(new WxAppinfo(cAppInfo.getMouldType())); |
|
|
|
} |
|
|
|
|
|
|
|
@PostMapping("updateAppMouldType") |
|
|
|
@SystemControllerLog(description = "修改小程序首页风格") |
|
|
|
public ResultData updateAppMouldType(@RequestBody WxAppinfo appinfo) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxAppinfoController::updateAppMouldType"); |
|
|
|
if(appinfo == null || appinfo.getId() == null || appinfo.getMouldType() == null){ |
|
|
|
if(appinfo.getMouldType() == null){ |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL); |
|
|
|
} |
|
|
|
// WxAppinfo updateAppinfo = new WxAppinfo(); |
|
|
|
|