Browse Source

登录版本检测区分ios和android

qukaidi 4 năm trước cách đây
mục cha
commit
fd1463935e
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      luntai/login.html

+ 5 - 1
luntai/login.html

@@ -125,8 +125,12 @@
 				//  检查更新
 				//  检查更新
 				getcheckVersion: function () {
 				getcheckVersion: function () {
 					var data = '',
 					var data = '',
-						url = "checkVersionU",
 						_this = this;
 						_this = this;
+						if(api.systemType == 'ios'){
+							url = "ioscheckVersionU"
+						}else{
+							url = "checkVersionU"
+						}
 					this.$get(url, data, function (ret) {
 					this.$get(url, data, function (ret) {
 						if (ret.code == 0 || ret.code == '0') {
 						if (ret.code == 0 || ret.code == '0') {
 							_this.version=ret.version
 							_this.version=ret.version