export const SERVICE_APP_GET_UI_META = 'app.getUIMeta';

export const SERVICE_APP_LOGIN_MODE = {
  password: 'password',
  dingding: 'dingding',
  weixin: 'weixin',
  phone: 'phone',
};

export const LOGIN_DISPLAY = {
  Account: 'Account',
  WeChart: 'WeChart',
  Mobile: 'Mobile',
};
export const LOGIN_WAY = {
  Account: 'pdw',
  WeChart: 'iotWechat',
  Mobile: 'iotPhone',
};

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

export const SERVICE_INTERFACE_SUCCESS_CODE = 0;
export const SERVICE_INTERFACE_PARAMS_EXCEPTION_CODE = -1; // 服务参数异常
export const SERVICE_INTERFACE_HANDLE_EXCEPTION_CODE = -2; // 服务处理异常

export const SERVICE_APP_CLOSE_ALL_TABS = 'app.close.tabs';

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';
export const REQUEST_METHOD_DELETE = 'delete';

export const RESPONSE_TYPE = 'blob';
