Просмотр исходного кода

fix: 订单号规则注释,修复运营统计请求规范

忆雪 1 год назад
Родитель
Сommit
b6b7f891ce

+ 2 - 1
src/main/java/com/chelvc/cloud/admin/controller/UserController.java

@@ -12,6 +12,7 @@ import com.chelvc.framework.common.model.Pagination;
 import org.apache.dubbo.config.annotation.DubboReference;
 import org.springframework.validation.annotation.Validated;
 import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RestController;
 
@@ -64,7 +65,7 @@ public class UserController {
      *
      * @return 用户统计
      */
-    @GetMapping("/user/getRegisterReport")
+    @PostMapping("/user/getRegisterReport")
     public Map<String,Object> getUserRegisterReport(@RequestBody @Valid ReportModifyParam param) {
         Map<String, Object> map = new HashMap<>();
         map.put("user",this.userService.getUserRegisterReport(param.getYear(),param.getMonth(),param.getType()));