Explorar o código

Merge branch 'master' of http://git.dongkesoft.com:9001/iBOSS-2.0-Mini/iboss-server-oauth

姜永辉 hai 1 ano
pai
achega
dd734dc09e

+ 3 - 2
src/main/java/com/dk/oauth/controller/integral/CouponUseController.java

@@ -1,6 +1,7 @@
 package com.dk.oauth.controller.integral;
 
 import com.dk.common.model.pojo.PageList;
+import com.dk.common.response.ResponseResultUtil;
 import com.dk.common.response.ResponseResultVO;
 import com.dk.oauth.model.VO.integral.CouponReceiveVO;
 import com.dk.oauth.model.VO.integral.CouponUseVO;
@@ -77,8 +78,8 @@ public class CouponUseController{
             notes = "获取优惠劵条数"
     )
     @PostMapping({"count_by"})
-    public Long countByCond(@RequestBody CouponUseQuery couponUseQuery){
-        return couponUseService.countByCond(couponUseQuery);
+    public ResponseResultVO<?> countByCond(@RequestBody CouponUseQuery couponUseQuery){
+        return ResponseResultUtil.success(couponUseService.countByCond(couponUseQuery));
     }
 
 }