Compare commits
No commits in common. "412e40dad2b1fa6786440e5a853a37a80341e457" and "064fad7914360e15db42162560da26f88c8ced9e" have entirely different histories.
412e40dad2
...
064fad7914
@ -5,7 +5,6 @@ import java.util.Arrays;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
import com.ruoyi.common.utils.SecurityUtils;
|
|
||||||
import org.springframework.security.access.prepost.PreAuthorize;
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
@ -48,19 +47,6 @@ public class MemberCouponController extends BaseController {
|
|||||||
return success(list);
|
return success(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 查询当前登录用户通告券
|
|
||||||
* @author PQZ
|
|
||||||
* @date 18:37 2025/4/24
|
|
||||||
* @return com.ruoyi.common.core.domain.AjaxResult
|
|
||||||
**/
|
|
||||||
@GetMapping("/getMemberCoupon")
|
|
||||||
public AjaxResult getMemberCoupon() {
|
|
||||||
//获取当前登录用户id
|
|
||||||
Long userId = SecurityUtils.getUserId();
|
|
||||||
return success(memberCouponService.getCoupon(userId));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 导出用户通告券变动记录列表
|
* 导出用户通告券变动记录列表
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -41,5 +41,4 @@ public interface IMemberCouponService extends IService<MemberCoupon> {
|
|||||||
**/
|
**/
|
||||||
Integer getCoupon(Long userId);
|
Integer getCoupon(Long userId);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user