修改了总部查看要审核的商家的信息的代码模块,添加了权限配置,修改参数
This commit is contained in:
parent
24fa8a0c9d
commit
dedd0c24b2
@ -153,7 +153,8 @@ public class MerchantSettlementController {
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/selectDefaultBusiness")
|
||||
public String selectDefaultBusiness(@RequestBody Map map){
|
||||
@PreAuthorize("hasAnyAuthority('auth_administor')")
|
||||
public String selectDefaultBusiness(@RequestBody Map map,@RequestHeader(value="Authorization") String token){
|
||||
String businessCity = (String) map.get("businessCity");
|
||||
String businessCountry = (String) map.get("businessCountry");
|
||||
String businessName = (String) map.get("businessName");
|
||||
|
Loading…
Reference in New Issue
Block a user