1.
陶杰
2024-10-22 788a5990d19f3e3e6fd955fdadcf1c9304822213
src/main/java/com/mzl/flower/web/v2/wallet/WalletWithdrawRecordController.java
文件名从 src/main/java/com/mzl/flower/web/v2/wallet/WithdrawRecordController.java 修改
@@ -5,7 +5,6 @@
import com.mzl.flower.base.BaseController;
import com.mzl.flower.base.R;
import com.mzl.flower.base.ReturnDataDTO;
import com.mzl.flower.entity.wallet.WalletDO;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
@@ -14,7 +13,7 @@
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;
import com.mzl.flower.entity.wallet.WithdrawRecordDO;
import com.mzl.flower.entity.wallet.WalletWithdrawRecordDO;
import javax.validation.constraints.Min;
import javax.validation.constraints.Max;
import javax.validation.constraints.Positive;
@@ -27,7 +26,7 @@
*/
@RestController
@RequestMapping("/v2/withdraw-record")
public class WithdrawRecordController extends BaseController {
public class WalletWithdrawRecordController extends BaseController {
    @PostMapping("")
    public ResponseEntity<ReturnDataDTO> create() {
@@ -45,12 +44,12 @@
    }
    @GetMapping("/{id}")
    public WithdrawRecordDO get(@PathVariable(value = "id") @Positive(message = "{id.positive}") Integer id) {
    public WalletWithdrawRecordDO get(@PathVariable(value = "id") @Positive(message = "{id.positive}") Integer id) {
        return null;
    }
    @GetMapping("/page")
    public ResponseEntity<ReturnDataDTO<Page<WithdrawRecordDO>>> page(
    public ResponseEntity<ReturnDataDTO<Page<WalletWithdrawRecordDO>>> page(
            @RequestParam(name = "page", required = false, defaultValue = "0")
            @Min(value = 0, message = "{page.number.min}") Integer page,
            @RequestParam(name = "count", required = false, defaultValue = "10")