mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
注释调后管充值赠送余额接口
This commit is contained in:
@@ -18,17 +18,9 @@ import com.jsowell.pile.service.IMemberTransactionRecordService;
|
||||
import com.jsowell.pile.vo.uniapp.MemberVO;
|
||||
import com.jsowell.pile.vo.uniapp.MemberWalletLogVO;
|
||||
import com.jsowell.pile.vo.web.MemberTransactionVO;
|
||||
import com.jsowell.pile.vo.web.UpdateMemberBalanceDTO;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -120,14 +112,14 @@ public class MemberBasicInfoController extends BaseController {
|
||||
/**
|
||||
* 充值/扣款余额
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('member:balance:update')")
|
||||
@Log(title = "会员充值/扣款余额", businessType = BusinessType.UPDATE)
|
||||
@PutMapping("/updateGiftBalance")
|
||||
public AjaxResult updateGiftBalance(@RequestBody UpdateMemberBalanceDTO dto) {
|
||||
logger.info("后管充值/扣款余额 param:{}", dto.toString());
|
||||
// 判断入参
|
||||
return toAjax(memberBasicInfoService.updateMemberBalance(dto));
|
||||
}
|
||||
// @PreAuthorize("@ss.hasPermi('member:balance:update')")
|
||||
// @Log(title = "会员充值/扣款余额", businessType = BusinessType.UPDATE)
|
||||
// @PutMapping("/updateGiftBalance")
|
||||
// public AjaxResult updateGiftBalance(@RequestBody UpdateMemberBalanceDTO dto) {
|
||||
// logger.info("后管充值/扣款余额 param:{}", dto.toString());
|
||||
// // 判断入参
|
||||
// return toAjax(memberBasicInfoService.updateMemberBalance(dto));
|
||||
// }
|
||||
|
||||
/**
|
||||
* 查询会员钱包流水
|
||||
|
||||
Reference in New Issue
Block a user