config.js 748 B

1234567891011121314151617181920
  1. import { http } from '@/utils/http';
  2. // 得到系统配置
  3. export function GetSysConfig() {
  4. return http.post(`${process.env.VUE_APP_EepServer}?MethodName=sys_config_manager-GetSysConfig`);
  5. }
  6. // 设置系统配置
  7. export function SetSysConfig(data) {
  8. return http.post(`${process.env.VUE_APP_EepServer}?MethodName=sys_config_manager-SetSysConfig`, data);
  9. }
  10. // 得到语音引擎配置
  11. export function GetSysConfig_SpeechEngine() {
  12. return http.post(`${process.env.VUE_APP_EepServer}?MethodName=sys_config_manager-GetSysConfig_SpeechEngine`);
  13. }
  14. // 设置语音引擎配置
  15. export function SetSysConfig_SpeechEngine(data) {
  16. return http.post(`${process.env.VUE_APP_EepServer}?MethodName=sys_config_manager-SetSysConfig_SpeechEngine`, data);
  17. }