|
|
|
@ -10,10 +10,7 @@ import io.swagger.annotations.Api;
|
|
|
|
import org.apache.dubbo.config.annotation.Reference;
|
|
|
|
import org.apache.dubbo.config.annotation.Reference;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 订单退货
|
|
|
|
* 订单退货
|
|
|
|
@ -35,4 +32,10 @@ public class AdminOrderReturnController {
|
|
|
|
OrderReturnQueryDTO queryDTO = OrderReturnConvert.INSTANCE.convert(queryPO);
|
|
|
|
OrderReturnQueryDTO queryDTO = OrderReturnConvert.INSTANCE.convert(queryPO);
|
|
|
|
return orderReturnService.orderReturnList(queryDTO);
|
|
|
|
return orderReturnService.orderReturnList(queryDTO);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("agree")
|
|
|
|
|
|
|
|
public CommonResult agree(@RequestParam("id") Integer id) {
|
|
|
|
|
|
|
|
CommonResult commonResult = orderReturnService.agree(id);
|
|
|
|
|
|
|
|
return commonResult;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|