|
@@ -67,7 +67,7 @@ public class PostPublisherController extends BaseController
|
|
|
*/
|
|
|
@PreAuthorize("@ss.hasPermi('system:publisher:add')")
|
|
|
@Log(title = "邮贝发行方信息;", businessType = BusinessType.INSERT)
|
|
|
- @PostMapping
|
|
|
+ @PostMapping("/add")
|
|
|
public AjaxResult add(@RequestBody PostPublisher postPublisher)
|
|
|
{
|
|
|
if(UserConstants.NOT_UNIQUE.equals(postPublisherService.checkPublisherName(postPublisher)))
|
|
@@ -87,7 +87,7 @@ public class PostPublisherController extends BaseController
|
|
|
*/
|
|
|
@PreAuthorize("@ss.hasPermi('system:publisher:edit')")
|
|
|
@Log(title = "邮贝发行方信息;", businessType = BusinessType.UPDATE)
|
|
|
- @PutMapping
|
|
|
+ @PutMapping("/edit")
|
|
|
public AjaxResult edit(@RequestBody PostPublisher postPublisher)
|
|
|
{
|
|
|
if(UserConstants.NOT_UNIQUE.equals(postPublisherService.checkPublisherName(postPublisher)))
|