|
@@ -4,6 +4,7 @@ import cn.hutool.core.lang.TypeReference;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.gree.mall.manager.annotation.ZfireList;
|
|
import com.gree.mall.manager.annotation.ZfireList;
|
|
|
import com.gree.mall.manager.bean.goods.GoodsDocumentsBean;
|
|
import com.gree.mall.manager.bean.goods.GoodsDocumentsBean;
|
|
|
|
|
+import com.gree.mall.manager.bean.goods.GoodsDocumentsFileVO;
|
|
|
import com.gree.mall.manager.bean.goods.GoodsDocumentsVO;
|
|
import com.gree.mall.manager.bean.goods.GoodsDocumentsVO;
|
|
|
import com.gree.mall.manager.exception.RemoteServiceException;
|
|
import com.gree.mall.manager.exception.RemoteServiceException;
|
|
|
import com.gree.mall.manager.helper.ResponseHelper;
|
|
import com.gree.mall.manager.helper.ResponseHelper;
|
|
@@ -36,6 +37,16 @@ public class GoodsDocumentsController {
|
|
|
return ResponseHelper.success(page, new TypeReference<GoodsDocumentsVO>() {});
|
|
return ResponseHelper.success(page, new TypeReference<GoodsDocumentsVO>() {});
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @ZfireList
|
|
|
|
|
+ @PostMapping("/file/list")
|
|
|
|
|
+ @ApiOperation(value = "文件列表")
|
|
|
|
|
+ public ResponseHelper<IPage<GoodsDocumentsFileVO>> filePage(
|
|
|
|
|
+ @RequestBody ZfireParamBean zfireParamBean
|
|
|
|
|
+ ) throws Exception {
|
|
|
|
|
+ IPage<GoodsDocumentsFileVO> page = goodsDocumentsLogic.filePage(zfireParamBean);
|
|
|
|
|
+ return ResponseHelper.success(page, new TypeReference<GoodsDocumentsFileVO>() {});
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@PostMapping("/detail")
|
|
@PostMapping("/detail")
|
|
|
@ApiOperation(value = "详情")
|
|
@ApiOperation(value = "详情")
|
|
|
public ResponseHelper<GoodsDocumentsBean> detail(
|
|
public ResponseHelper<GoodsDocumentsBean> detail(
|