constants.js 1.17 KB
Newer Older
邓晓峰's avatar
邓晓峰 committed
1 2 3 4 5 6 7
export const SERVICE_APP_GET_UI_META = 'app.getUIMeta';

export const SERVICE_APP_LOGIN_MODE = {
  password: 'password',
  dingding: 'dingding',
  weixin: 'weixin',
  phone: 'phone',
邓晓峰's avatar
邓晓峰 committed
8
};
邓晓峰's avatar
邓晓峰 committed
9

10 11 12 13
export const LOGIN_DISPLAY = {
  Account: 'Account',
  WeChart: 'WeChart',
  Mobile: 'Mobile',
14
  WeCom: 'WeCom', // 企业微信登录
15 16 17 18 19
};
export const LOGIN_WAY = {
  Account: 'pdw',
  WeChart: 'iotWechat',
  Mobile: 'iotPhone',
20
  WeCom: 'qywx', // 企业微信登录
21 22
};

邓晓峰's avatar
邓晓峰 committed
23
export const WECHART_APPID = 'wx8bfa8b02cb95010b';
24 25 26
export const WECOM_APPID = 'wxec56ca668e7f9155'; // 企业微信APPID
export const AGENTID_CLOUD = '1000102'; // 云平台 agentid
export const AGENTID_CRM = '1000083'; // CRM agentid
邓晓峰's avatar
邓晓峰 committed
27

28 29 30

export const WX_REDIRECT_URI = 'https://panda-water.com/civbase/user/login';

31 32
export const SERVICE_INTERFACE_SUCCESS_CODE = 0;

邓晓峰's avatar
邓晓峰 committed
33
export const SERVICE_APP_CLOSE_ALL_TABS = 'app.close.tabs';
34 35 36 37 38 39

export const REQUEST_HTTP = 'http';
export const REQUEST_POP = 'pop';
export const REQUEST_METHOD_GET = 'get';
export const REQUEST_METHOD_POST = 'post';
export const REQUEST_METHOD_PUT = 'put';
邓晓峰's avatar
邓晓峰 committed
40
export const REQUEST_METHOD_DELETE = 'delete';
邓晓峰's avatar
邓晓峰 committed
41 42
export const WEB_GIS_TYPE = {
  ARCGIS: 'ArcgisMap',
邓晓峰's avatar
邓晓峰 committed
43 44
  AMAP: 'AMap',
};