const baseUrl = "http://e5.hieap.cn";
const server = "";
const projectName="jwjx";

export default {
  // 项目名
  projectName: projectName,
  // 初始化路由名
  //initialRouteName:'login2',
  // 默认首页
  //defaultsy:'ShouYe_ShouYe',
  // 服务器域名
  url: baseUrl,
  // 默认服务url
  serverUrl: baseUrl + server,
  // 登录url
  loginUrl: baseUrl + server + '/login/pw-login',
  // 登录2url
  login2Url: baseUrl + server + '/login/sso-login',
  // 数据保存url
  saveUrl: baseUrl + server + '/data/save',
  // 数据查询url
  queryUrl: baseUrl + server + '/data/query',
  // 数据策略url
  policyUrl: baseUrl + server + '/data/policy',
  // 附件上传url
  upload: baseUrl + server + '/file/upload',
  // 附件下载url
  download: baseUrl + server + '/file/download',
  // 附件查看url
  review: baseUrl + server + '/file/review',
  // 流程信息url
  getFlowInfo: baseUrl + server + '/flow/open',
  startFlow: baseUrl + server + '/flow/startFlow',
  getApprovalInfo: baseUrl + server + '/flow/getApprovalInfo',
  processFlow: baseUrl + server + '/flow/processFlow',
  queryTask: baseUrl + server + '/flow/queryTask',
  withdrawtask: baseUrl + server + '/flow/withdrawtask',
  taskDiagram: baseUrl + server + '/flow/taskDiagram',
  openOrdernumber: baseUrl + server + '/flow/openOrdernumber',
  getOrderTraceInfo: baseUrl + server + '/flow/getOrderTraceInfo',
  // 获取验证码
  getVerificationCode: baseUrl + server + '/sms/captcha',
  // 忘记密码
  forgotPwd: baseUrl + server + '/sys/user/forgot-pwd',
  // 注册用户
  register: baseUrl + server + '/sys/user/reg-phone',
  // 获取用户信息
  userDetail: baseUrl + server + '/sys/user/detail',
  // 用户菜单
  userMenu: baseUrl + server + '/login/user/menu?skip=false&clientType=mb',
  // 退出
  logout: baseUrl + server + '/login/sso-logout',
  // 更新地址
  updateUrl:'https://xz.histron.cn/api/getver/'+ (Platform.OS === 'android' ? 'systplAndroid' : 'systplIos')
};
