api-config.js 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /*
  2. * 端口域名配置
  3. * @type Object
  4. */
  5. var apiUrl = {
  6. basehostUrl: 'https://dev407.33.cn',
  7. // basehostUrl: 'https://kdata.fxee.com',
  8. uploadUrl:"https://oss.33.cn",
  9. baseNewUrl:"https://dev407.33.cn",
  10. }
  11. export default {
  12. /*
  13. *代理商接口
  14. *(新版)
  15. */
  16. newRegist: apiUrl.baseNewUrl + '/broker/member/register', //注册
  17. newLogin: apiUrl.baseNewUrl + '/broker/member/login', //登录
  18. applyToAgent: apiUrl.baseNewUrl+'/agency/member/apply',//申请成为经纪人
  19. applyStatus: apiUrl.baseNewUrl+'/agency/member/apply',//申请状态查询
  20. /*
  21. *代理商接口
  22. *(老版)
  23. */
  24. userLogin:apiUrl.basehostUrl+'/api/member/login',//用户登录
  25. userLoginUp:apiUrl.basehostUrl+'/api/member/reg',//用户注册
  26. userAssetlist:apiUrl.basehostUrl+'/api/Account/Asset',//用户资产列表
  27. userAssethist:apiUrl.basehostUrl+'/api/Pay/CoinRecord',//我的资产历史记录
  28. usertradeList:apiUrl.basehostUrl+'/api/data/market',////获取行情
  29. getcoindata:apiUrl.basehostUrl+'/api/data/Ticker',//首页ticker数据
  30. sendEmail: apiUrl.basehostUrl + '/api/send/mail', //发送邮件通知
  31. getUserInfo: apiUrl.basehostUrl + "/api/member/info",//获取用户信息
  32. loginout: apiUrl.basehostUrl + '/api/member/loginout',//账户退出
  33. Cancel: apiUrl.basehostUrl+'/api/trade/cancel',//撤单接口
  34. hisorder: apiUrl.basehostUrl + "/api/trade/OrderList",//交易历史
  35. place: apiUrl.basehostUrl+'/api/trade/place',//交易接口
  36. changePassword: apiUrl.basehostUrl+'/api/member/editpassword',//修改密码
  37. loginrecord: apiUrl.basehostUrl+'/api/account/loginrecord',//登陆日志
  38. chargecoin: apiUrl.basehostUrl+'/api/account/myaddress',//充币
  39. adressList: apiUrl.basehostUrl+'/api/account/addresslist',//地址列表
  40. mancoinmon: apiUrl.basehostUrl+'/api/data/fees',//提币手续费
  41. phoneCountry: apiUrl.basehostUrl+'/api/data/country',//国家信息
  42. phoneCheckedNum: apiUrl.basehostUrl+'/api/send/sms',//手机验证码
  43. phoneCommit:apiUrl.basehostUrl+'/api/certification/mobile',//手机验证提交
  44. getState:apiUrl.basehostUrl+'/api/certification/states',//验证状态
  45. emailCommit:apiUrl.basehostUrl+'/api/certification/email',//邮件验证
  46. uploadImg:apiUrl.uploadUrl+'/upload/certificate',//上传图片
  47. getImgToken:apiUrl.basehostUrl + "/api/certification/UploadToken",//获取图片上传token
  48. cardType:apiUrl.basehostUrl + '/api/data/cardtypes', //获取证件类型
  49. ocr:apiUrl.basehostUrl + '/api/Certification/Ocr', //证件OCR
  50. Certification: apiUrl.basehostUrl + '/api/certification/identity', //提交认证信息
  51. resetPwd:apiUrl.basehostUrl + '/api/member/resetpassword', //重置密码
  52. pwdSend:apiUrl.basehostUrl + '/api/send/reset', // 密码找回(邮件短信)发送
  53. txFees:apiUrl.basehostUrl + '/api/data/txfees',//提币手续费
  54. getFaceAmount:apiUrl.basehostUrl + '/api/data/faceamount',//获取人脸额度
  55. getOutCin:apiUrl.basehostUrl + '/api/pay/Withdrawcoin',//提币接口
  56. addAdress:apiUrl.basehostUrl + '/Applications/account/ManageAdress',//新增地址
  57. }