|
@@ -18,6 +18,8 @@ import com.ym.mec.common.controller.BaseController;
|
|
|
import com.ym.mec.common.entity.HttpResponseResult;
|
|
|
import com.ym.mec.common.exception.BizException;
|
|
|
import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiImplicitParam;
|
|
|
+import io.swagger.annotations.ApiImplicitParams;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.apache.poi.util.Internal;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -97,7 +99,8 @@ public class SporadicChargeInfoController extends BaseController {
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "福袋活动信息")
|
|
|
- @RequestMapping("/activityInfo")
|
|
|
+ @GetMapping("/activityInfo")
|
|
|
+ @ApiImplicitParams({@ApiImplicitParam(name = "type", value = "类型(福袋活动6)", required = true, dataType = "String")})
|
|
|
public HttpResponseResult activityInfo(Integer type) throws Exception {
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if (sysUser == null || sysUser.getId() == null) {
|