| | |
| | | public Result defaultDateProduct(@PathVariable Integer pageNum, @PathVariable Integer pageSize, @PathVariable List<String> glassType, @RequestBody Product product){ |
| | | return Result.seccess(productService.defaultDateProduct(pageNum,pageSize,glassType,product)); |
| | | } |
| | | @ApiOperation("其他系统获取产品查询接口") |
| | | @PostMapping("/otherSysGetProduct") |
| | | public Result otherSysGetProduct(){ |
| | | return Result.seccess(productService.otherSysGetProduct()); |
| | | } |
| | | |
| | | @ApiOperation("产品保存接口") |
| | | @SaCheckPermission("createProduct.add") |
| | | @PostMapping("/saveProduct") |
| | | public Result saveProduct(@RequestBody Map<String,Object> product){ |
| | | return Result.seccess(productService.saveProduct(product)); |
| | | } |
| | | @ApiOperation("其他系统产品保存接口") |
| | | @PostMapping("/otherSysSaveProduct") |
| | | public Result otherSysSaveProduct(@RequestBody Map<String,Object> product){ |
| | | return Result.seccess(productService.saveProduct(product)); |
| | | } |
| | | |
| | | @ApiOperation("产品查重接口") |
| | | @SaCheckPermission("createProduct.add") |