Commit 36df4b98 by guojuxing

取消授权后门接口

parent 02fc25fd
...@@ -112,11 +112,21 @@ public class StoreController extends DownloadUtils { ...@@ -112,11 +112,21 @@ public class StoreController extends DownloadUtils {
private UserAscriptionApiService userAscriptionApiService; private UserAscriptionApiService userAscriptionApiService;
@Autowired @Autowired
private ClerkApiService clerkApiService; private ClerkApiService clerkApiService;
@Autowired
private StoreAuthorizationApiService storeAuthorizationApiService;
private Map<Integer, SimpleDateFormat> map = new ConcurrentHashMap<>(); private Map<Integer, SimpleDateFormat> map = new ConcurrentHashMap<>();
private Map<Integer, SimpleDateFormat> map1 = new ConcurrentHashMap<>(); private Map<Integer, SimpleDateFormat> map1 = new ConcurrentHashMap<>();
@IgnoreLogin
@HeaderSignIgnore
@RequestMapping("/cancel-store-auth")
public RestResponse saveOrUpdate(Integer unionEnterpriseId, Integer ownEnterpriseId) {
storeAuthorizationApiService.cancelStoreAll(unionEnterpriseId, ownEnterpriseId);
return RestResponse.success();
}
@RequestMapping("/save-store") @RequestMapping("/save-store")
public RestResponse saveOrUpdate(@Validated({StoreQO.SaveValidView.class}) StoreQO storeQO, ClerkQO clerkQO) { public RestResponse saveOrUpdate(@Validated({StoreQO.SaveValidView.class}) StoreQO storeQO, ClerkQO clerkQO) {
logger.info("门店参数:{}", JSON.toJSONString(storeQO)); logger.info("门店参数:{}", JSON.toJSONString(storeQO));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment