From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 25 二月 2025 16:41:22 +0800
Subject: [PATCH] 淘宝转链接口更新

---
 fanli/src/main/webapp/admin/new/js/common.js |  118 +++++++++++++++++++++++++++++-----------------------------
 1 files changed, 59 insertions(+), 59 deletions(-)

diff --git a/fanli/src/main/webapp/admin/new/js/common.js b/fanli/src/main/webapp/admin/new/js/common.js
index 9cdbbb5..52077de 100644
--- a/fanli/src/main/webapp/admin/new/js/common.js
+++ b/fanli/src/main/webapp/admin/new/js/common.js
@@ -1,60 +1,60 @@
-function gotoLogin() {
-	window.location.href = "login.html";
-}
-
-function getQueryString(name) {
-	var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
-	var r = window.location.search.substr(1).match(reg);
-	if(r != null) return unescape(r[2]);
-	return null;
-}
-
-function doResponse(data, successEvent) {
-	if(data.code == 0)
-		successEvent;
-	else if(data.code == 2)
-		gotoLogin();
-	else
-		layer.msg(data.msg);
-}
-
-function getCommonTime(timestamp) {
-	var newDate = new Date();
-	newDate.setTime(timestamp);
-	return newDate.getFullYear() + "-" + (newDate.getMonth() + 1) + "-" + (newDate.getDay() + 1) + " " + newDate.getHours() + ":" + newDate.getMinutes();
-}
-
-function bindCheck() {
-	$(".check-all").bind("change", function() {
-		if($(this).is(':checked')) {
-			$(".check-item").prop("checked", true);
-		} else {
-			$(".check-item").prop("checked", false);
-		}
-	});
-}
-
-function setSystemItem(){
-	var optionHtml = $(".systemItem").html();
-	$.post("../new/api/v1/system/systemList",{},function(data){
-		if(data.code==0){
-			var systemList = data.data.systemList;
-			for(var ii = 1 ; ii <= systemList.length ; ii++){
-				$(".systemItem").append(optionHtml);
-				var system = systemList[ii-1];
-				var $curOption = $(".systemItem option").eq(ii);
-				$curOption.text(system.name);
-				$curOption.attr("key",system.platform);
-				$curOption.attr("package",system.packageName);
-			}
-			
-		}
-	},'json');
-}
-
-$(function() {
-	
-	setSystemItem();
-	
-	
+function gotoLogin() {
+	window.location.href = "login.html";
+}
+
+function getQueryString(name) {
+	var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
+	var r = window.location.search.substr(1).match(reg);
+	if(r != null) return unescape(r[2]);
+	return null;
+}
+
+function doResponse(data, successEvent) {
+	if(data.code == 0)
+		successEvent;
+	else if(data.code == 2)
+		gotoLogin();
+	else
+		layer.msg(data.msg);
+}
+
+function getCommonTime(timestamp) {
+	var newDate = new Date();
+	newDate.setTime(timestamp);
+	return newDate.getFullYear() + "-" + (newDate.getMonth() + 1) + "-" + (newDate.getDay() + 1) + " " + newDate.getHours() + ":" + newDate.getMinutes();
+}
+
+function bindCheck() {
+	$(".check-all").bind("change", function() {
+		if($(this).is(':checked')) {
+			$(".check-item").prop("checked", true);
+		} else {
+			$(".check-item").prop("checked", false);
+		}
+	});
+}
+
+function setSystemItem(){
+	var optionHtml = $(".systemItem").html();
+	$.post("../new/api/v1/system/systemList",{},function(data){
+		if(data.code==0){
+			var systemList = data.data.systemList;
+			for(var ii = 1 ; ii <= systemList.length ; ii++){
+				$(".systemItem").append(optionHtml);
+				var system = systemList[ii-1];
+				var $curOption = $(".systemItem option").eq(ii);
+				$curOption.text(system.name);
+				$curOption.attr("key",system.platform);
+				$curOption.attr("package",system.packageName);
+			}
+			
+		}
+	},'json');
+}
+
+$(function() {
+	
+	setSystemItem();
+	
+	
 });
\ No newline at end of file

--
Gitblit v1.8.0