|
@@ -20,16 +20,16 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
@RequiredArgsConstructor
|
|
@RequiredArgsConstructor
|
|
|
public class ShopController {
|
|
public class ShopController {
|
|
|
|
|
|
|
|
- private final YhShopFrontService yhShopFrontService;
|
|
|
|
|
|
|
+ private final YhShopFrontService yhShopFrontService;
|
|
|
|
|
|
|
|
|
|
|
|
|
- /**
|
|
|
|
|
- * 店铺个人信息
|
|
|
|
|
- */
|
|
|
|
|
- @GetMapping("/get/info")
|
|
|
|
|
- public Result<YhShopInfo> getYhShopInfo(String customId) {
|
|
|
|
|
- YhShopInfo yhShopInfo = yhShopFrontService.getYhShopInfo(customId);
|
|
|
|
|
- return GatewayResponse.SUCCESS.newBuilder().toResult(yhShopInfo);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 店铺详情信息
|
|
|
|
|
+ */
|
|
|
|
|
+ @GetMapping("/get/info")
|
|
|
|
|
+ public Result<YhShopInfo> getYhShopInfo(String customId) {
|
|
|
|
|
+ YhShopInfo yhShopInfo = yhShopFrontService.getYhShopInfo(customId);
|
|
|
|
|
+ return GatewayResponse.SUCCESS.newBuilder().toResult(yhShopInfo);
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
}
|
|
}
|