Commit c9afd2f5 by 陶光胜

门店品牌变更

parent ccc588d9
......@@ -131,7 +131,7 @@ public class StoreOpenApiServiceImpl implements StoreOpenApiService {
if (!hasAuth(appId, enterpriseId, storeInfoId)) {
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "没有门店权限");
}
StoreDTO store = storeService.getStoreByRegionIdAndStoreCode(enterpriseId, regionId, storeCode);
StoreDTO store = storeApiService.getStoreByStoreInfoId(enterpriseId, storeInfoId).getResult();
if (store == null) {
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "门店code或者域数据错误,无此门店");
}
......
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