Commit d16e502d55627544da5bd8c08faaf1486d8bfc7b
1 parent
0c5184f3
提交代码
Showing
2 changed files
with
9 additions
and
4 deletions
src/main/resources/a_little_config.txt
@@ -76,8 +76,12 @@ appSecret=1aee0b25571ffcbb1f6d3e52d5054c79 | @@ -76,8 +76,12 @@ appSecret=1aee0b25571ffcbb1f6d3e52d5054c79 | ||
76 | #app.host=http://p6esgw.natappfree.cc | 76 | #app.host=http://p6esgw.natappfree.cc |
77 | #app.staticHost=http://p6esgw.natappfree.cc/static | 77 | #app.staticHost=http://p6esgw.natappfree.cc/static |
78 | 78 | ||
79 | -app.host=http://atao.s1.natapp.cc | ||
80 | -app.staticHost=http://atao.s1.natapp.cc/static | 79 | +#app.host=http://atao.s1.natapp.cc |
80 | +#app.staticHost=http://atao.s1.natapp.cc/static | ||
81 | + | ||
82 | + | ||
83 | +app.host=http://localhost:8080 | ||
84 | +app.staticHost=http://localhost:8080/static | ||
81 | 85 | ||
82 | #weixin pay | 86 | #weixin pay |
83 | #是否支持信用卡支付 | 87 | #是否支持信用卡支付 |
src/main/webapp/static/js/url.js
1 | var mUrl = mUrl || {}; | 1 | var mUrl = mUrl || {}; |
2 | -var webPath = 'http://p6esgw.natappfree.cc'; | ||
3 | -var webPath = 'http://atao.s1.natapp.cc'; | 2 | +//var webPath = 'http://p6esgw.natappfree.cc'; |
3 | +//var webPath = 'http://atao.s1.natapp.cc'; | ||
4 | +var webPath = 'http://localhost:8080'; | ||
4 | mUrl.getCommonParam = function () { | 5 | mUrl.getCommonParam = function () { |
5 | //获取公共参数 | 6 | //获取公共参数 |
6 | var openId = mUrl.getOpenId(); | 7 | var openId = mUrl.getOpenId(); |