|
@@ -5,6 +5,7 @@ import com.sqx.modules.activity.service.ActivityShopService;
|
|
|
import com.sqx.modules.activity.vo.ShopActivityGroupVO;
|
|
import com.sqx.modules.activity.vo.ShopActivityGroupVO;
|
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
+import io.swagger.annotations.ApiParam;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
@@ -17,7 +18,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
* @author : codingliang
|
|
* @author : codingliang
|
|
|
* @date : 2024-06-22 9:53
|
|
* @date : 2024-06-22 9:53
|
|
|
*/
|
|
*/
|
|
|
-@Api(tags = "活动-活动商家")
|
|
|
|
|
|
|
+@Api(tags = "活动-app活动商家")
|
|
|
@RestController
|
|
@RestController
|
|
|
@RequestMapping("app/activity-shop")
|
|
@RequestMapping("app/activity-shop")
|
|
|
@RequiredArgsConstructor
|
|
@RequiredArgsConstructor
|
|
@@ -27,7 +28,7 @@ public class AppActivityShopController {
|
|
|
|
|
|
|
|
@ApiOperation("获取店铺参与的活动分组")
|
|
@ApiOperation("获取店铺参与的活动分组")
|
|
|
@GetMapping("shop-activity-group/{shopId}")
|
|
@GetMapping("shop-activity-group/{shopId}")
|
|
|
- public Result getShopActivity(@PathVariable Long shopId) {
|
|
|
|
|
|
|
+ public Result getShopActivity(@PathVariable @ApiParam("店铺id") Long shopId) {
|
|
|
ShopActivityGroupVO shopActivityVO = activityShopService.getShopActivityGroup(shopId);
|
|
ShopActivityGroupVO shopActivityVO = activityShopService.getShopActivityGroup(shopId);
|
|
|
return Result.success().put("data", shopActivityVO);
|
|
return Result.success().put("data", shopActivityVO);
|
|
|
}
|
|
}
|