| | |
| | | import com.ruoyi.system.api.domain.poji.config.SysTag; |
| | | import com.ruoyi.system.api.domain.vo.AppOtherConfigGetVo; |
| | | import com.ruoyi.system.api.domain.vo.MgtSysSimpleUserVo; |
| | | import com.ruoyi.system.domain.dto.MgtCustomConfigDto; |
| | | import com.ruoyi.system.service.config.*; |
| | | import com.ruoyi.system.service.sys.ISysUserService; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | |
| | | sysClassificationService.changeClassNum(mgtClassNumDto); |
| | | return R.ok(); |
| | | } |
| | | |
| | | /** |
| | | * @description 获取客户电话 |
| | | * @author jqs |
| | | * @date 2023/7/29 15:26 |
| | | * @return R<String> |
| | | */ |
| | | @PostMapping("/getServicePhone") |
| | | public R<String> getServicePhone() |
| | | { |
| | | MgtCustomConfigDto mgtCustomConfigDto = new MgtCustomConfigDto(); |
| | | mgtCustomConfigDto.setConfigType("PLATFORM_SERVICE_PHONE"); |
| | | List<String> mgtCustomConfigVo = customConfigService.getCustomConfig(mgtCustomConfigDto); |
| | | String servicePhone = "暂无客服电话"; |
| | | if(mgtCustomConfigVo!=null&&mgtCustomConfigVo.size()>0){ |
| | | servicePhone = mgtCustomConfigVo.get(0); |
| | | } |
| | | return R.ok(servicePhone); |
| | | } |
| | | } |