| | |
| | | /**
|
| | | * 不需要验证的Url地址
|
| | | */
|
| | | public static final List<String> NO_AUTH_URLS=CollUtil.newArrayList("/swagger-resources", "/webjars", "/v2", "/swagger-ui.html","/error","/push/jg","/pay/new/wxProPayNotify/anon","/admin/front/file/upload","/partnerTarget/add","/admin/queryListMap.json","/admin/echarts/dataEchart.json","/apk/download","/pay/ali/notify", "/goods/goodsCategory", "/goods/goodsList", "/goods/goodsDetails");
|
| | | public static final List<String> NO_AUTH_URLS=CollUtil.newArrayList("/swagger-resources", "/webjars", "/v2", "/swagger-ui.html","/error","/push/jg","/pay/new/wxProPayNotify/anon","/admin/front/file/upload","/partnerTarget/add","/admin/queryListMap.json","/admin/echarts/dataEchart.json","/apk/download","/pay/ali/notify");
|
| | | public static final List<String> NO_AUTH_METHODS=CollUtil.newArrayList("queryListMap","payNotify","partnerTargetAdd","aliPayNotify");
|
| | |
|
| | |
|
| | |
| | | |
| | | import com.github.pagehelper.PageInfo; |
| | | import com.xzx.gc.common.Result; |
| | | import com.xzx.gc.common.annotations.PassToken; |
| | | import com.xzx.gc.common.request.BaseController; |
| | | import com.xzx.gc.model.JsonResult; |
| | | import com.xzx.gc.service.BaseAccountService; |
| | |
| | | @Autowired |
| | | private GoodsService goodsService; |
| | | |
| | | @PassToken |
| | | @ApiOperation("分类列表") |
| | | @ApiResponses( |
| | | @ApiResponse(code = 200, message = "success", response = GoodsCategoryVo.class) |
| | |
| | | return JsonResult.success(goodsService.findCategoryWithChildren()); |
| | | } |
| | | |
| | | @PassToken |
| | | @ApiOperation("商品列表") |
| | | @ApiResponses( |
| | | @ApiResponse(code = 200, message = "success", response = XcxGoodsListVo.class) |
| | |
| | | return JsonResult.success(goodsService.findGoodsListInPage(xcxGoodsListDto)); |
| | | } |
| | | |
| | | @PassToken |
| | | @ApiOperation("商品详情") |
| | | @ApiResponses( |
| | | @ApiResponse(code = 200, message = "success", response = XcxGoodsDetailVo.class) |