提交代码

dev-discount
胡锐 3 years ago
parent c8e6fc1d84
commit 0e0b6be7d4
  1. 4
      hai-cweb/src/main/java/com/cweb/config/AuthConfig.java
  2. 3
      hai-cweb/src/main/java/com/cweb/controller/HighUserController.java
  3. 1
      hai-cweb/src/main/java/com/cweb/controller/HighUserDiscountController.java

@ -109,8 +109,8 @@ public class AuthConfig implements WebMvcConfigurer {
.excludePathPatterns("/user/login") .excludePathPatterns("/user/login")
.excludePathPatterns("/user/unionPhoneLogin") .excludePathPatterns("/user/unionPhoneLogin")
.excludePathPatterns("/user/getUnionId") .excludePathPatterns("/user/getUnionId")
.excludePathPatterns("/user/setCacheParam") .excludePathPatterns("/highUser/setCacheParam")
.excludePathPatterns("/user/getCacheParam") .excludePathPatterns("/highUser/getCacheParam")
.excludePathPatterns("/order/orderToH5Pay") .excludePathPatterns("/order/orderToH5Pay")
.excludePathPatterns("/order/orderToPay") .excludePathPatterns("/order/orderToPay")
.excludePathPatterns("/test/*") .excludePathPatterns("/test/*")

@ -208,9 +208,8 @@ public class HighUserController {
@RequestMapping(value="/setCacheParam",method = RequestMethod.POST) @RequestMapping(value="/setCacheParam",method = RequestMethod.POST)
@ResponseBody @ResponseBody
@ApiOperation(value = "设置用户参数") @ApiOperation(value = "设置用户参数")
public ResponseData setCacheParam(JSONObject body) { public ResponseData setCacheParam(@RequestBody JSONObject body) {
try { try {
if (body == null if (body == null
|| StringUtils.isBlank(body.getString("key")) || StringUtils.isBlank(body.getString("key"))
|| StringUtils.isBlank(body.getString("value"))) { || StringUtils.isBlank(body.getString("value"))) {

@ -101,6 +101,7 @@ public class HighUserDiscountController {
Map<String,Object> map = new HashMap<>(); Map<String,Object> map = new HashMap<>();
map.put("userId", userInfoModel.getHighUser().getId()); map.put("userId", userInfoModel.getHighUser().getId());
map.put("useScope", useScope);
map.put("status", status); map.put("status", status);
PageHelper.startPage(pageNum,pageSize); PageHelper.startPage(pageNum,pageSize);

Loading…
Cancel
Save