拖动排序
This commit is contained in:
@@ -71,7 +71,7 @@ public class ShopPayTypeController {
|
||||
* @param id 拖动的支付类型ID
|
||||
* @param targetSort 目标位置排序号
|
||||
*/
|
||||
@PostMapping("/sort")
|
||||
@GetMapping("/sort")
|
||||
public CzgResult<Void> sort(@RequestParam Long shopId, @RequestParam Integer id, @RequestParam Integer targetSort) {
|
||||
shopPayTypeService.updateSort(shopId, id, targetSort);
|
||||
return CzgResult.success();
|
||||
|
||||
Reference in New Issue
Block a user