Blame view

config.js 1.73 KB
99b0761b   songchongxian   songcx无牌车扫码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
  /*
  @songcxa
  @2018-12-14
  @移动支付配置[配置项除ip地址外勿动]
  */
  window.webAppH5 = {};
  
  /*服务器地址*/
  var webAppRoot = "http://39.98.54.240:8090";
  
  /*公共参数*/
  webAppH5.comParams = {
      app_id: 1,
      salt: 2,
      deviceInfo: 3,
      sign_type: 'md5',
      sign: 4,
      token: '666'
  }
  
  /*出、入场接口*/
  webAppH5.comServer = "/keyTopQrCodeInOutPark/noCarQRcodeInOutPark";
  
  //缴费-微信
  webAppH5.wxPayServer = "/weixinpay/publicUnifiedOrder";
  
  //缴费-支付宝
  webAppH5.aliPayServer = "/alipay/aliH5Pay";
  
  
  
  
  
  
  
  
  
  
  
  /*入场参数*/
  //测试地址
  //http://localhost:18879/page/in.html?plNo=P11011700C&parkingId=1&channelId=172198242&direction=0&codeType=0&expireDate=expireDate&extendData=extendData
  //channelId=172198242 [入场设备号]
  //webAppH5.appIn = {
  //    /*入场设备号*/
  //    channelId: '172198242',
  //    /*入:0,1:出*/
  //    direction: 0
  //}
  
  /*出场参数*/
  //测试地址
  //http://localhost:18879/page/out.html?plNo=P11011700C&parkingId=1&channelId=172198243&direction=1&codeType=0&expireDate=expireDate&extendData=extendData
  //channelId=172198243 [出场设备号]
  //direction=0 [通行方向 入:0,1:出 必填]
  //webAppH5.appOut = {
  //    /*出场设备号*/
  //    channelId: '172198243',
  //    /*入:0,1:出*/
  //    direction:1
  //}
  
  //首页
  //进出场标识>>>>>>>>>>direction=0 [通行方向 入:0,1:出 必填]
  //测试服务器进场首页
  //http://39.98.54.240/codepay/index.html?plNo=P11011700C&parkingId=1&channelId=172198242&direction=0&codeType=0&expireDate=expireDate&extendData=extendData
  
  //测试服务器出场首页
  //http://39.98.54.240/codepay/index.html?plNo=P11011700C&parkingId=1&channelId=172198243&direction=1&codeType=0&expireDate=expireDate&extendData=extendData