解密增加权限设置

pull/1/head
zccbbg 2 years ago
parent 76c1266688
commit 845965b75b

@ -128,6 +128,7 @@ public class OrderController extends BaseController {
return ResponseEntity.ok(service.log(orderId)); return ResponseEntity.ok(service.log(orderId));
} }
@PreAuthorize("@ss.hasAnyRoles('admin')")
@ApiOperation("订单解密") @ApiOperation("订单解密")
@GetMapping("/decryptPhone/{orderId}") @GetMapping("/decryptPhone/{orderId}")
public ResponseEntity<String> decryptPhone(@PathVariable Long orderId){ public ResponseEntity<String> decryptPhone(@PathVariable Long orderId){

Loading…
Cancel
Save