支付宝api

dev2
Aaaaaaaa 2024-09-02 14:50:42 +08:00
parent 0e089319dd
commit e61671ebc4
2 changed files with 5 additions and 4 deletions

View File

@ -60,7 +60,7 @@ public class OrdersController {
* @param ordersUpdReq
* @return
*/
@PutMapping("/updateOrders")
@PostMapping("/updateOrders")
@Operation(summary = "修改订单", description = "根据ordersid查找订单进行修改")
Result updateOrders(@Validated @RequestBody OrdersUpdReq ordersUpdReq){
Result result = orderShowService.updateOrders(ordersUpdReq);
@ -74,7 +74,7 @@ public class OrdersController {
* @param ordersId
* @return
*/
@PutMapping("/updateByeExist/{ordersId}")
@PostMapping("/updateByeExist/{ordersId}")
@Operation(summary = "逻辑删除订单", description = "根据orderid修改exist字段 1->0/(类似回收站)")
Result updateByeExist (@Validated @PathVariable("ordersId") Integer ordersId){
return orderShowService.updateByeExist(ordersId);
@ -86,7 +86,7 @@ public class OrdersController {
* @param ordersId
* @return
*/
@PutMapping("/updateByExist/{ordersId}")
@PostMapping("/updateByExist/{ordersId}")
@Operation(summary = "逻辑复原订单", description = "根据orderid修改exist字段 0->1")
Result updateByExist(@Validated @PathVariable("ordersId") Integer ordersId){
return orderShowService.updateByExist(ordersId);
@ -96,7 +96,7 @@ public class OrdersController {
* (orderid)
* @return
*/
@DeleteMapping("/delByOrderId/{ordersId}")
@PostMapping("/delByOrderId/{ordersId}")
@Operation(summary = "彻底删除订单", description = "根据根据orderid删除数据库字段")
Result delByOrderId(@Validated @PathVariable("ordersId") Integer ordersId){
return orderShowService.delByOrderId(ordersId);

View File

@ -4,4 +4,5 @@ import com.muyu.cloud.market.domin.Orders;
public interface PayInfoService {
Orders selectByordersNum(String ordersNum);
}