Commit bf763b37 by xiexiaoqin

add config

parent 0e500706
...@@ -142,7 +142,7 @@ export function isParticipate(data) { ...@@ -142,7 +142,7 @@ export function isParticipate(data) {
export function getMeetingRoomRepeatAffairs(groupId, page) { export function getMeetingRoomRepeatAffairs(groupId, page) {
return $http({ return $http({
method: "get", method: "get",
url: `/meet/meeting-log/scheduleTemplateMeetingLogPage?category=2,3&groupId=${groupId}&size=10&current=${page}` url: `/meet/meeting-log/scheduleTemplateMeetingLogPage?groupId=${groupId}&size=10&current=${page}`
}); });
} }
//会议室详情的获取动态列表 //会议室详情的获取动态列表
......
...@@ -2,6 +2,7 @@ import { setGlobalStore } from "dd-store"; ...@@ -2,6 +2,7 @@ import { setGlobalStore } from "dd-store";
import exampleStore from "./stores/exampleStore"; import exampleStore from "./stores/exampleStore";
setGlobalStore(exampleStore); setGlobalStore(exampleStore);
import login from "./api/login"; import login from "./api/login";
import { globalUrl, globalUrl2 } from './config';
App({ App({
onLaunch(options) { onLaunch(options) {
...@@ -20,9 +21,7 @@ App({ ...@@ -20,9 +21,7 @@ App({
userid: "", userid: "",
name: "", name: "",
userInfo: "", userInfo: "",
globalUrl: "https://gateway-beta.mingwork.com", //beta地址 globalUrl: globalUrl,
globalUrl2: "https://third-authentication-beta.mingwork.com" globalUrl2: globalUrl2
// globalUrl: "https://gateway2.mingwork.com", // 线上地址
// globalUrl2: "https://third-authentication.mingwork.com" //线上地址
} }
}); });
export const globalUrl = "https://gateway-beta.mingwork.com";
export const globalUrl2 = "https://third-authentication-beta.mingwork.com";
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment