MrShi
14 小时以前 ac33a3140ef8ef20dfd2537fce2dfdd0f374f30e
server/dmmall_web/src/main/java/com/doumee/api/web/ShopApi.java
@@ -100,7 +100,7 @@
    @ApiImplicitParams({
            @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "用户token值", required = true),
    })
    public ApiResponse getShopList(@RequestBody ShopListDTO dto){
    public ApiResponse<List<Shop>> getShopList(@RequestBody ShopListDTO dto){
        return ApiResponse.success(shopService.getShopList(dto));
    }
@@ -112,12 +112,10 @@
    @ApiImplicitParams({
            @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "用户token值", required = true),
    })
    public ApiResponse withdrawApply(@RequestBody WithdrawApplyRequest request){
    public ApiResponse<Integer> withdrawApply(@RequestBody WithdrawApplyRequest request){
        request.setMemberId(getShopId());
        withdrawRecordService.withdrawApply(request,integralService);
        return ApiResponse.success("操作成功");
        return ApiResponse.success("操作成功",withdrawRecordService.withdrawApply(request,integralService));
    }
    @LoginShopRequired