Browse Source

防止初始化的时候没有值,在调用的时候去取值

master
PanLi320 8 years ago
parent
commit
34c7a1b080
  1. 3
      designer_base/src/com/fr/design/extra/ucenter/Client.java

3
designer_base/src/com/fr/design/extra/ucenter/Client.java

@ -19,7 +19,7 @@ import java.util.Map;
public class Client extends PHPFunctions{
public static String UC_IP = "211.149.195.54";
public static String UC_API = SiteCenter.getInstance().acquireUrlByKind("bbs.ucapi");
public static String UC_API = "";
public static String UC_CONNECT = "";
public static String UC_KEY = "Rc85U37411p4zdvcedm8D4t4D3l9Sa42H0kd98Gbd82aA99a61S2Z5LbQ9u430M0";
public static String UC_APPID = "4";
@ -86,6 +86,7 @@ public class Client extends PHPFunctions{
sep = "&";
}
String $postdata = uc_api_requestdata(module, action, str.toString(), "");
UC_API = SiteCenter.getInstance().acquireUrlByKind("bbs.ucapi");
return uc_fopen2(UC_API + "/index.php", 500000, $postdata, "", true, UC_IP, 20, true);
}

Loading…
Cancel
Save