支付宝api
parent
549b8935df
commit
ccc7f95f63
|
@ -73,7 +73,7 @@ public class OrdersController {
|
||||||
* @param ordersId
|
* @param ordersId
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PostMapping("/updateByeExist/{ordersId}")
|
@GetMapping("/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);
|
||||||
|
@ -85,7 +85,7 @@ public class OrdersController {
|
||||||
* @param ordersId
|
* @param ordersId
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PostMapping("/updateByExist/{ordersId}")
|
@GetMapping("/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);
|
||||||
|
@ -95,7 +95,7 @@ public class OrdersController {
|
||||||
* 彻底删除(根据orderid删除数据库字段)
|
* 彻底删除(根据orderid删除数据库字段)
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PostMapping("/delByOrderId/{ordersId}")
|
@GetMapping("/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);
|
||||||
|
@ -108,7 +108,7 @@ public class OrdersController {
|
||||||
* @param ordersId
|
* @param ordersId
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PostMapping("/findAllById/{ordersId}")
|
@GetMapping("/findAllById/{ordersId}")
|
||||||
@Operation(summary = "回显", description = "根据ordersId进行查询信息")
|
@Operation(summary = "回显", description = "根据ordersId进行查询信息")
|
||||||
Orders findAllById (@Validated @PathVariable("ordersId") Integer ordersId){
|
Orders findAllById (@Validated @PathVariable("ordersId") Integer ordersId){
|
||||||
return orderShowService.findAllById(ordersId);
|
return orderShowService.findAllById(ordersId);
|
||||||
|
|
Loading…
Reference in New Issue