|
@@ -1,6 +1,7 @@
|
|
|
package com.dk.oauth.controller.integral;
|
|
package com.dk.oauth.controller.integral;
|
|
|
|
|
|
|
|
import com.dk.common.model.pojo.PageList;
|
|
import com.dk.common.model.pojo.PageList;
|
|
|
|
|
+import com.dk.common.response.ResponseResultUtil;
|
|
|
import com.dk.common.response.ResponseResultVO;
|
|
import com.dk.common.response.ResponseResultVO;
|
|
|
import com.dk.oauth.model.VO.integral.CouponReceiveVO;
|
|
import com.dk.oauth.model.VO.integral.CouponReceiveVO;
|
|
|
import com.dk.oauth.model.VO.integral.CouponUseVO;
|
|
import com.dk.oauth.model.VO.integral.CouponUseVO;
|
|
@@ -77,8 +78,8 @@ public class CouponUseController{
|
|
|
notes = "获取优惠劵条数"
|
|
notes = "获取优惠劵条数"
|
|
|
)
|
|
)
|
|
|
@PostMapping({"count_by"})
|
|
@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));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|