constants.js 934 Bytes
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 14 15 16 17 18 19 20
export const LOGIN_DISPLAY = {
  Account: 'Account',
  WeChart: 'WeChart',
  Mobile: 'Mobile',
};
export const LOGIN_WAY = {
  Account: 'pdw',
  WeChart: 'iotWechat',
  Mobile: 'iotPhone',
};

邓晓峰's avatar
邓晓峰 committed
21 22
export const WECHART_APPID = 'wx8bfa8b02cb95010b';

23 24 25

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

26 27
export const SERVICE_INTERFACE_SUCCESS_CODE = 0;

邓晓峰's avatar
邓晓峰 committed
28
export const SERVICE_APP_CLOSE_ALL_TABS = 'app.close.tabs';
29 30 31 32 33 34

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
35
export const REQUEST_METHOD_DELETE = 'delete';
邓晓峰's avatar
邓晓峰 committed
36 37 38 39
export const WEB_GIS_TYPE = {
  ARCGIS: 'ArcgisMap',
  AMAP: 'AMap'
}