package cn.iocoder.yudao.module.app.controller;

import cn.iocoder.yudao.framework.common.pojo.CommonResult;
import cn.iocoder.yudao.module.app.service.UniShopConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/userClient/uniShopConfig")
public class UniShopConfigController {

    @Autowired
    UniShopConfigService uniShopConfigService;

    /**
     * 客服中心：获取客服手机号
     */
    @GetMapping("/getRepairTel")
    public CommonResult<String> getRepairTel() {
        return CommonResult.success(uniShopConfigService.getRepairTel());
    }

}
