注释调后管充值赠送余额接口

This commit is contained in:
2023-07-03 14:54:21 +08:00
parent 7676d128f1
commit 04b47e4afd

View File

@@ -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));
// }
/**
* 查询会员钱包流水