修改了市级或区县级查看入驻商家的信息的功能模块,加入了市级,区县权限的配置

This commit is contained in:
XinYi Song 2021-12-21 17:22:31 +08:00
parent 4dad1e871c
commit 95011e6d39

View File

@ -112,7 +112,8 @@ public class MerchantSettlementController {
* @return
*/
@PostMapping("/selectAllBusiness")
public String selectAllBusiness(@RequestBody Map map){
@PreAuthorize("hasAnyAuthority('auth_city','auth_county')")
public String selectAllBusiness(@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");