张天森
2022-10-09 c6e9ccc99a191d61b9599629702f84f495516095
springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java
@@ -11,6 +11,7 @@
import com.panzhihua.common.model.dtos.community.microCommercialStreet.BindUserPhoneDTO;
import com.panzhihua.common.model.dtos.community.microCommercialStreet.LoginWithPhoneDTO;
import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsMerchantDTO;
import com.panzhihua.common.service.community.CommunityService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
@@ -1463,7 +1464,17 @@
     * 三说会堂后台重置密码
     * */
    @GetMapping("/sanshuoResetPassword")
    public R sanshuoAddUser(@RequestParam("id") Long userId,@RequestParam("pass")String password){
        return userService.resetPassExpertOrIndustryCenter(userId,password);
    public R sanshuoAddUser(@RequestParam("account") String account,@RequestParam("pass")String password){
        return userService.resetPassExpertOrIndustryCenter(account,password);
    }
    /**
     * 移除账号专家权限
     *
     */
    @GetMapping("/removeExpertRole")
    public R removeExpertRole(@RequestParam(value = "phone",required = false)String phone){
        return userService.removeExpertRole(phone);
    }
}