修改了市级或区县级查看入驻商家的信息的功能模块,加入了市级,区县权限的配置
This commit is contained in:
parent
4dad1e871c
commit
95011e6d39
@ -112,7 +112,8 @@ public class MerchantSettlementController {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PostMapping("/selectAllBusiness")
|
@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 businessCity = (String) map.get("businessCity");
|
||||||
String businessCountry = (String) map.get("businessCountry");
|
String businessCountry = (String) map.get("businessCountry");
|
||||||
String businessName = (String) map.get("businessName");
|
String businessName = (String) map.get("businessName");
|
||||||
|
Loading…
Reference in New Issue
Block a user