张天森
2022-09-14 79d022f98239e5f029bdca3adf38ca4a39e15143
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoIndustryCenterApi.java
@@ -7,14 +7,13 @@
import com.panzhihua.common.service.user.UserService;
import com.panzhihua.service_community.entity.ComSanshuoIndustryCenter;
import com.panzhihua.service_community.service.ComSanShuoIndustryCenterService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
/**
 * 三说会堂业务中心管理控制器
 * */
 */
@RestController
@RequestMapping("/sanshuo/industryCenter")
public class ComSanShuoIndustryCenterApi extends BaseController {
@@ -42,7 +41,7 @@
    /**
     * 添加业务中心
     * */
     */
    @PostMapping
    public R add(@RequestBody ComSanShuoIndustryCenterDTO comSanShuoIndustryCenterDTO){
        comSanShuoIndustryCenterDTO.setCreateBy(this.getLoginUserInfo().getName());
@@ -51,7 +50,7 @@
    /**
     * 修改业务中心
     * */
     */
    @PutMapping
    public R update(@RequestBody ComSanShuoIndustryCenterDTO comSanShuoIndustryCenterDTO){
        return comSanShuoIndustryCenterService.addOrUpdate(comSanShuoIndustryCenterDTO);
@@ -59,7 +58,7 @@
    /**
     * 删除业务中心
     * */
     */
    @DeleteMapping("/remove")
    public R remove(@RequestParam("id") Long id){
        ComSanshuoIndustryCenter center = comSanShuoIndustryCenterService.getById(id);
@@ -70,7 +69,7 @@
    /**
     * 重置密码
     * */
     */
    @PostMapping("/resetPass")
    public R resetPassword(@RequestBody ComSanShuoIndustryCenterDTO comSanShuoIndustryCenterDTO){
        ComSanshuoIndustryCenter center = comSanShuoIndustryCenterService.getById(comSanShuoIndustryCenterDTO.getId());