Compare commits

..

No commits in common. "7d2330f18fbf1861d3a159f6e1ecccae874e1c80" and "4c4f6db86c87f5c15d778c5a09a4ecae44fdb3ff" have entirely different histories.

View File

@ -1564,15 +1564,7 @@ public class ShopStoreBaseServiceImpl extends BaseServiceImpl<ShopStoreBaseMappe
public Map getBase(Integer store_id) {
UserDto user = getCurrentUser();
if (user == null) {
throw new ApiException(ResultCode.NEED_LOGIN);
}
if (user.isPlatform()) {
if (CheckUtil.isEmpty(store_id)) {
throw new ApiException("平台操作,请传入店铺 Id");
}
} else {
if (store_id == null) {
store_id = Convert.toInt(user.getStore_id());
}