public static int shijian = 0;
public static Boolean l = true;
public static string access = "";
public static string ticket = "";
public static int shijian1 = 0;
public static string acess()
{
string Appid = “********”;
string Appsecret = "你创建应用的secret值";
// string access = "";
if (shijian > 7099 || shijian==0)
{
string str = Class1.GetMessage("https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=" + Appid + "&corpsecret=" + Appsecret + "");
access = str.Split(new char[] { '{', '}', ':', '"' }, StringSplitOptions.RemoveEmptyEntries)[6];
public static Boolean l = true;
public static string access = "";
public static string ticket = "";
public static int shijian1 = 0;
public static string acess()
{
string Appid = “********”;
string Appsecret = "你创建应用的secret值";
// string access = "";
if (shijian > 7099 || shijian==0)
{
string str = Class1.GetMessage("https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=" + Appid + "&corpsecret=" + Appsecret + "");
access = str.Split(new char[] { '{', '}', ':', '"' }, StringSplitOptions.RemoveEmptyEntries)[6];