| | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | @Api(tags = "钱包") |
| | | @Api(tags = "小程序-个人中心-我的钱包") |
| | | @RestController |
| | | @RequestMapping("wallet") |
| | | public class WalletController extends BaseController { |
| | |
| | | * 钱包详情 |
| | | */ |
| | | @GetMapping("detail") |
| | | @ApiOperation(value = "钱包详情", notes = "钱包详情", tags = {"小程序-个人中心-我的钱包-钱包详情"}) |
| | | @ApiOperation(value = "钱包详情", notes = "钱包详情") |
| | | public R<WalletVO> detail() { |
| | | LoginUser loginUserApplet = tokenService.getLoginUserApplet(); |
| | | WalletVO walletVO = walletService.getWalletByUserId(loginUserApplet.getUserid()); |
| | |
| | | /** |
| | | * 变更明细 |
| | | */ |
| | | @ApiOperation(value = "变更明细", notes = "变更明细", tags = {"小程序-个人中心-我的钱包-变更记录"}) |
| | | @ApiOperation(value = "变更明细", notes = "变更明细") |
| | | @GetMapping("change") |
| | | public R<List<BalanceChangeRecord>> change() { |
| | | Long userId = SecurityUtils.getUserId(); |