1
This commit is contained in:
@@ -44,7 +44,7 @@ public class ProductJdConfigController extends BaseController
|
||||
/**
|
||||
* 获取产品京东配置详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jarvis:productJdConfig:query')")
|
||||
|
||||
@GetMapping(value = "/{productModel}")
|
||||
public AjaxResult getInfo(@PathVariable("productModel") String productModel)
|
||||
{
|
||||
@@ -54,7 +54,7 @@ public class ProductJdConfigController extends BaseController
|
||||
/**
|
||||
* 新增产品京东配置
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jarvis:productJdConfig:add')")
|
||||
|
||||
@Log(title = "产品京东配置", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody ProductJdConfig productJdConfig)
|
||||
@@ -70,7 +70,7 @@ public class ProductJdConfigController extends BaseController
|
||||
/**
|
||||
* 修改产品京东配置
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jarvis:productJdConfig:edit')")
|
||||
|
||||
@Log(title = "产品京东配置", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody ProductJdConfig productJdConfig)
|
||||
@@ -81,7 +81,7 @@ public class ProductJdConfigController extends BaseController
|
||||
/**
|
||||
* 删除产品京东配置
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jarvis:productJdConfig:remove')")
|
||||
|
||||
@Log(title = "产品京东配置", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{productModels}")
|
||||
public AjaxResult remove(@PathVariable String[] productModels)
|
||||
@@ -92,7 +92,7 @@ public class ProductJdConfigController extends BaseController
|
||||
/**
|
||||
* 初始化默认数据
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jarvis:productJdConfig:init')")
|
||||
|
||||
@Log(title = "产品京东配置", businessType = BusinessType.OTHER)
|
||||
@PostMapping("/initData")
|
||||
public AjaxResult initData()
|
||||
|
||||
Reference in New Issue
Block a user