支付宝api
parent
0e089319dd
commit
e61671ebc4
|
@ -60,7 +60,7 @@ public class OrdersController {
|
||||||
* @param ordersUpdReq
|
* @param ordersUpdReq
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PutMapping("/updateOrders")
|
@PostMapping("/updateOrders")
|
||||||
@Operation(summary = "修改订单", description = "根据ordersid查找订单进行修改")
|
@Operation(summary = "修改订单", description = "根据ordersid查找订单进行修改")
|
||||||
Result updateOrders(@Validated @RequestBody OrdersUpdReq ordersUpdReq){
|
Result updateOrders(@Validated @RequestBody OrdersUpdReq ordersUpdReq){
|
||||||
Result result = orderShowService.updateOrders(ordersUpdReq);
|
Result result = orderShowService.updateOrders(ordersUpdReq);
|
||||||
|
@ -74,7 +74,7 @@ public class OrdersController {
|
||||||
* @param ordersId
|
* @param ordersId
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PutMapping("/updateByeExist/{ordersId}")
|
@PostMapping("/updateByeExist/{ordersId}")
|
||||||
@Operation(summary = "逻辑删除订单", description = "根据orderid修改exist字段 1->0/(类似回收站)")
|
@Operation(summary = "逻辑删除订单", description = "根据orderid修改exist字段 1->0/(类似回收站)")
|
||||||
Result updateByeExist (@Validated @PathVariable("ordersId") Integer ordersId){
|
Result updateByeExist (@Validated @PathVariable("ordersId") Integer ordersId){
|
||||||
return orderShowService.updateByeExist(ordersId);
|
return orderShowService.updateByeExist(ordersId);
|
||||||
|
@ -86,7 +86,7 @@ public class OrdersController {
|
||||||
* @param ordersId
|
* @param ordersId
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PutMapping("/updateByExist/{ordersId}")
|
@PostMapping("/updateByExist/{ordersId}")
|
||||||
@Operation(summary = "逻辑复原订单", description = "根据orderid修改exist字段 0->1")
|
@Operation(summary = "逻辑复原订单", description = "根据orderid修改exist字段 0->1")
|
||||||
Result updateByExist(@Validated @PathVariable("ordersId") Integer ordersId){
|
Result updateByExist(@Validated @PathVariable("ordersId") Integer ordersId){
|
||||||
return orderShowService.updateByExist(ordersId);
|
return orderShowService.updateByExist(ordersId);
|
||||||
|
@ -96,7 +96,7 @@ public class OrdersController {
|
||||||
* 彻底删除(根据orderid删除数据库字段)
|
* 彻底删除(根据orderid删除数据库字段)
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@DeleteMapping("/delByOrderId/{ordersId}")
|
@PostMapping("/delByOrderId/{ordersId}")
|
||||||
@Operation(summary = "彻底删除订单", description = "根据根据orderid删除数据库字段")
|
@Operation(summary = "彻底删除订单", description = "根据根据orderid删除数据库字段")
|
||||||
Result delByOrderId(@Validated @PathVariable("ordersId") Integer ordersId){
|
Result delByOrderId(@Validated @PathVariable("ordersId") Integer ordersId){
|
||||||
return orderShowService.delByOrderId(ordersId);
|
return orderShowService.delByOrderId(ordersId);
|
||||||
|
|
|
@ -4,4 +4,5 @@ import com.muyu.cloud.market.domin.Orders;
|
||||||
|
|
||||||
public interface PayInfoService {
|
public interface PayInfoService {
|
||||||
Orders selectByordersNum(String ordersNum);
|
Orders selectByordersNum(String ordersNum);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue