Browse Source

http改https

yezehua 5 years ago
parent
commit
1b5eac30d7
1 changed files with 7 additions and 7 deletions
  1. 7 7
      api/http-request.js

+ 7 - 7
api/http-request.js

@ -1,6 +1,6 @@
(function($) {
    var publish_version = false;
    var isInner = false; //发布线上后有内外网的配置
    var publish_version = true;
    var isInner = true; //发布线上后有内外网的配置
    var docInfo = "app_storage";
    var agentName = "wlyyAgentForDoc";
    var docAgentName = "wlyyAgent";
@ -10,12 +10,12 @@
    localStorage.setItem('WLYY_IMEI', IMEI)
    $.support.cors = true;
    if(publish_version) { // 生产环境配置
        server = "http://www.xmtyw.cn/wlyy/"
        imserver = "http://27.155.101.77:3000/api/v2";
        socketUrl = "http://27.155.101.77:3000";
        articleServer = "http://www.xmtyw.cn/wlyytest/"
        server = "//www.xmtyw.cn/wlyy/"
        imserver = "//www.xmtyw.cn/api/v2";
        socketUrl = "//www.xmtyw.cn";
        articleServer = "//www.xmtyw.cn/wlyy/"
        loginUrl = "../../login/login.html";
        imgServer = "http://www.xmtyw.cn/";
        imgServer = "//www.xmtyw.cn/";
        videoChatIntranetFlag = false;
        if(isInner){
            server = "http://10.95.22.10:8011/wlyy/"