|
|
@ -15,6 +15,7 @@ import com.shop.cereshop.app.param.shop.ShopPosterParam; |
|
|
|
import com.shop.cereshop.app.service.business.CereBusinessBuyerUserService; |
|
|
|
import com.shop.cereshop.app.service.buyer.CereBuyerUserService; |
|
|
|
import com.shop.cereshop.app.service.shop.CerePlatformShopService; |
|
|
|
import com.shop.cereshop.app.utils.ContextUtil; |
|
|
|
import com.shop.cereshop.commons.constant.CoReturnFormat; |
|
|
|
import com.shop.cereshop.commons.domain.business.CereBusinessBuyerUser; |
|
|
|
import com.shop.cereshop.commons.domain.buyer.CereBuyerUser; |
|
|
@ -65,6 +66,7 @@ public class ShopController { |
|
|
|
//根据token查询用户信息 |
|
|
|
user=cereBuyerUserService.findByToken(token); |
|
|
|
} |
|
|
|
param.setProject(ContextUtil.getProject()); |
|
|
|
Shop shop= cerePlatformShopservice.getShopProducts(param,user); |
|
|
|
return new Result(shop, CoReturnFormat.SUCCESS); |
|
|
|
} |
|
|
@ -139,6 +141,7 @@ public class ShopController { |
|
|
|
//根据token查询用户信息 |
|
|
|
user=cereBuyerUserService.findByToken(token); |
|
|
|
} |
|
|
|
param.setProject(ContextUtil.getProject()); |
|
|
|
String sharePicUrl = cerePlatformShopservice.getSharePic(param,user); |
|
|
|
Result<String> result = new Result(); |
|
|
|
result.setCode(CoReturnFormat.SUCCESS); |
|
|
|