支付宝api

dev2
Aaaaaaaa 2024-09-02 14:57:39 +08:00
parent 549b8935df
commit ccc7f95f63
1 changed files with 4 additions and 4 deletions

View File

@ -73,7 +73,7 @@ public class OrdersController {
* @param ordersId
* @return
*/
@PostMapping("/updateByeExist/{ordersId}")
@GetMapping("/updateByeExist/{ordersId}")
@Operation(summary = "逻辑删除订单", description = "根据orderid修改exist字段 1->0/(类似回收站)")
Result updateByeExist (@Validated @PathVariable("ordersId") Integer ordersId){
return orderShowService.updateByeExist(ordersId);
@ -85,7 +85,7 @@ public class OrdersController {
* @param ordersId
* @return
*/
@PostMapping("/updateByExist/{ordersId}")
@GetMapping("/updateByExist/{ordersId}")
@Operation(summary = "逻辑复原订单", description = "根据orderid修改exist字段 0->1")
Result updateByExist(@Validated @PathVariable("ordersId") Integer ordersId){
return orderShowService.updateByExist(ordersId);
@ -95,7 +95,7 @@ public class OrdersController {
* (orderid)
* @return
*/
@PostMapping("/delByOrderId/{ordersId}")
@GetMapping("/delByOrderId/{ordersId}")
@Operation(summary = "彻底删除订单", description = "根据根据orderid删除数据库字段")
Result delByOrderId(@Validated @PathVariable("ordersId") Integer ordersId){
return orderShowService.delByOrderId(ordersId);
@ -108,7 +108,7 @@ public class OrdersController {
* @param ordersId
* @return
*/
@PostMapping("/findAllById/{ordersId}")
@GetMapping("/findAllById/{ordersId}")
@Operation(summary = "回显", description = "根据ordersId进行查询信息")
Orders findAllById (@Validated @PathVariable("ordersId") Integer ordersId){
return orderShowService.findAllById(ordersId);