Commit f3d47c8a authored by 潘梓豪's avatar 潘梓豪

更新设置

parent b434c1e2
......@@ -2,10 +2,10 @@
public class Setting
{
//public static string IP= "http://192.168.199.127:11011";
public static string IP = "http://8.134.114.12:11011";
public static string IP= "http://192.168.199.127:12011";
//public static string IP = "http://8.134.114.12:11011";
//public static string IP = "http://127.0.0.1:80/zeushub";
public static string client_id = "2bc5f15f-0717-48f9-a782-77493ac45084";
public static string client_id = "bUX2zYQyhuWa9SOk3tTcgx4uaMyigFwvPfA4TvlbneE";
// yourEndpoint填写Bucket所在地域对应的Endpoint。以华东1(杭州)为例,Endpoint填写为https://oss-cn-hangzhou.aliyuncs.com。
public static string endpoint = "https://oss-cn-shenzhen.aliyuncs.com";
// 阿里云账号AccessKey拥有所有API的访问权限,风险很高。强烈建议您创建并使用RAM用户进行API访问或日常运维,请登录RAM控制台创建RAM用户。
......@@ -15,6 +15,6 @@ public class Setting
public static string bucketName = "zeus-hub";
public static string FileToUpload = "FileToUpload";
public static string BaseUrl = Environment.CurrentDirectory;
public static string client_secret = "pzh123456";
public static string client_secret = "rT%^3koddvRRG";
}
......@@ -91,6 +91,8 @@ public class Production : MonoBehaviour
}
yield return new WaitForSeconds(1f);
}
}
......
......@@ -35,8 +35,8 @@ public class RobotCode
{
//string strNum = getCpu() + GetDiskVolumeSerialNumber();//获得24位Cpu和硬盘序列号
string strNum = SystemInfo.deviceUniqueIdentifier;
string strMNum = strNum.Substring(0, 24);//从生成的字符串中取出前24个字符做为机器码
return strMNum;
// string strMNum = strNum.Substring(0, 24);//从生成的字符串中取出前24个字符做为机器码
return strNum;
}
public static int[] intCode = new int[127];//存储密钥
public static int[] intNumber = new int[25];//存机器码的Ascii值
......
......@@ -7221,3 +7221,4 @@
2023/5/8 8:46:59 api:http://8.134.114.12:11011/oauth/token Cannot connect to destination host
2023/5/8 17:53:01 api:http://8.134.114.12:11011/oauth/token HTTP/1.1 502 Bad Gateway
2023/5/8 18:05:06 api:http://8.134.114.12:11011/oauth/token HTTP/1.1 502 Bad Gateway
2023/6/16 17:19:44 api:http://192.168.199.127:12011/oauth/token HTTP/1.1 502 Bad Gateway
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment