Browse Source

debug session

stanley-king 7 years ago
parent
commit
98474cb68d

File diff suppressed because it is too large
+ 1 - 1
dist/index.html


File diff suppressed because it is too large
+ 2 - 0
dist/mshop/js/app.18377e3b2a489a645a57.js


File diff suppressed because it is too large
+ 1 - 0
dist/mshop/js/app.18377e3b2a489a645a57.js.map


File diff suppressed because it is too large
+ 0 - 2
dist/mshop/js/app.1e582410089d6e621692.js


File diff suppressed because it is too large
+ 0 - 1
dist/mshop/js/app.1e582410089d6e621692.js.map


File diff suppressed because it is too large
+ 2 - 2
dist/mshop/js/manifest.c21d08a840c0db92e470.js


File diff suppressed because it is too large
+ 1 - 1
dist/mshop/js/manifest.c21d08a840c0db92e470.js.map


+ 4 - 2
src/lib/api.js

@@ -1,7 +1,9 @@
-class Api {
+
+class Api
+{
 
     static host() {
-        return "http://p.lrlz.com";
+        return "http://a.lrlz.com";
     }
 
     static special(special_id) {

+ 3 - 1
src/wechat/WechatShare.js

@@ -11,7 +11,9 @@ class WechatShare
     {
         let sign_url = window.location.href + "#";
         sign_url = encodeURIComponent(sign_url.substring(0, sign_url.indexOf('#')));
-        let url = "http://a.lrlz.com/mobile/index.php?act=mshop&op=signurl&client_type=ajax&sign_url="+sign_url+"&callback=";
+        var host = window.location.protocol + '//' + window.location.host;
+        let url = host + "/mobile/index.php?act=mshop&op=signurl&client_type=ajax&sign_url="+sign_url+"&callback=";
+
         let pThis = this;
         this.getJSONP(url, function (res)
         {