Browse Source

修改自动的登录

zyz 6 years ago
parent
commit
b19f1a6bcd
2 changed files with 2 additions and 2 deletions
  1. 1 1
      api/http-request.js
  2. 1 1
      app/article/html/article.html

+ 1 - 1
api/http-request.js

@ -8,7 +8,7 @@
    localStorage.setItem('WLYY_IMEI', IMEI)
    $.support.cors = true;
    if(publish_version) { // 生产环境配置
        server = "http://www.xmtyw.cn/wlyy/"
        articleServer=server = "http://www.xmtyw.cn/wlyy/"
        imserver = "http://27.155.101.77:3000/api/v2";
        socketUrl = "http://27.155.101.77:3000";
        loginUrl = "../../login/login.html";

+ 1 - 1
app/article/html/article.html

@ -301,7 +301,7 @@
				    	jbscAPI.updateAfterEducate(obj).then(function(res){
				    		var icon=5;
				    		var msg=''
				    		if(res.status=200){
				    		if(res.status==200){
								msg='发送成功';				    			
				    			icon=1;
				    		}