//package com.crm.manager.controller;
//
//import com.crm.manager.service.UserSystemConfigService;
//import com.crm.rely.backend.core.dto.base.BaseResultDto;
//import com.crm.rely.backend.core.entity.custom.info.InfoEntity;
//import com.crm.rely.backend.core.entity.user.system.UserSystemConfigEntity;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//@RestController
//@RequestMapping("/user/system/config")
//public class UserSystemConfigController {
//
//    @Autowired
//    private UserSystemConfigService userSystemConfigService;
//
//    @PostMapping("/all/list")
//    public BaseResultDto list(@RequestBody UserSystemConfigEntity entity) throws Exception {
//        return BaseResultDto.success(userSystemConfigService.getAllList(entity));
//    }
//
//    @PostMapping("/choose")
//    public BaseResultDto chooseSystemToken(@RequestBody UserSystemConfigEntity entity, InfoEntity infoEntity) throws Exception {
//        return userSystemConfigService.chooseSystemToken(entity, infoEntity.getIbInfo().getId());
//    }
//
//}
