Commit 9a9ed526 authored by 潘梓豪's avatar 潘梓豪

更新

parent 3972abab
......@@ -63,6 +63,8 @@ public class ZeusHub_Manager : MonoBehaviour
public GameObject normalPage;
public GameObject downloadpage;
IEnumerator Start()
{
manager = this;
......
using Aliyun.OSS;
using Aliyun.OSS.Common;
using LitJson;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class DloadMission : Production
{
// Start is called before the first frame update
// 创建OssClient实例。
static OssClient client = new OssClient(Setting.endpoint, Setting.accessKeyId, Setting.accessKeySecret);
public TMP_Text mission_name;
//public GameObject progress_side;
// public Image preset_image;
// public delegate void UpdateUIText(float progress);
// UpdateUIText updateUIText;
//public float fill_data = 0;
void Start()
{
updateUIText = new UpdateUIText(UpdateText);
}
// Update is called once per frame
void Update()
{
// StartCoroutine(update_progress());
}
public IEnumerator update_progress()
{
if (progress_side.active)
{
preset_image.fillAmount = fill_data;
if (fill_data == 1f)
{
fill_data = 0;
progress_side.SetActive(false);
}
}
else
{
if (fill_data > 0 && fill_data < 1)
{
progress_side.SetActive(true);
}
}
yield return new WaitForSeconds(1f);
}
public void getProgress(GetObjectRequest getObjectRequest,string downloadFilename,Production production)
{
updateUIText = new UpdateUIText(UpdateText);
Thread thread = null;
thread = new Thread(() =>
{
try
{
float TotalByte = 0;
var len = 0;
//var getObjectRequest = new GetObjectRequest(Setting.bucketName, fullFilePath);
//下载进度
getObjectRequest.StreamTransferProgress += (obg, args) =>
{
float putProcess = (args.TransferredBytes * 100 / args.TotalBytes);
TotalByte += putProcess;
float present = putProcess / 100f;
//Debug.Log("线程"+present);
this.updateUIText.BeginInvoke(present, null, null);
production.updateUIText.BeginInvoke(present, null, null);
};
// 下载文件到流。OssObject包含了文件的各种信息,如文件所在的存储空间、文件名、元信息以及一个输入流。
var obj = client.GetObject(getObjectRequest);
using (var requestStream = obj.Content)
{
byte[] buf = new byte[1024];
var fs = File.Open(downloadFilename, FileMode.OpenOrCreate);
// 通过输入流将文件的内容读取到文件或者内存中。
while ((len = requestStream.Read(buf, 0, 1024)) != 0)
{
fs.Write(buf, 0, len);
}
fs.Close();
//File.Delete(downloadFilename);
UnZip(downloadFilename, "D://DownloadDemo/", downloadFilename.Substring(downloadFilename.LastIndexOf('/') + 1, downloadFilename.LastIndexOf('.') - downloadFilename.LastIndexOf('/') - 1));
//删除文件
File.Delete(downloadFilename);
//string json = "{\"code\":\"" + RobotCode.getMNum() + "\",\"productionid\":\"" + id + "\"}";
JsonData js_data = new JsonData();
js_data["apppath"] = "D://DownloadDemo/" + downloadFilename.Substring(downloadFilename.LastIndexOf("/") + 1, downloadFilename.LastIndexOf(".") - (downloadFilename.Substring(0, downloadFilename.LastIndexOf("/") + 1).Length)) + "/" + appname;
js_data["productionid"] = id;
//js_data["code"] = RobotCode.getMNum();
//保存
//production.OnReceiveMsg.Invoke(js_data, "savepath");
//updateUIText.BeginInvoke(production, js_data, null, null);
}
}
catch (OssException e)
{
Debug.Log("下载错误:" + e);
}
catch (Exception e)
{
Debug.Log("下载错误:" + e);
}
finally
{
thread.Abort();
}
});
thread.Start();
}
/// <summary>
/// 解压zip文件,并覆盖保存到指定的目标路径文件下
/// </summary>
/// <param name="zipFilePath">将要解压缩的zip文件的路径</param>
/// <param name="unZipDir">解压后将zip中的文件存储到磁盘的目标路径</param>
/// <returns></returns>
public static bool UnZip(string zipFilePath, string unZipDir, string directoryName)
{
bool result;
try
{
unZipDir = unZipDir.EndsWith(@"\") ? unZipDir : unZipDir + @"\";
var directoryinfo = new DirectoryInfo(unZipDir);
if (!directoryinfo.Exists) directoryinfo.Create();
var fileinfo = new FileInfo(zipFilePath);
if (!fileinfo.Exists) return false;
using (var zipToOpen = new FileStream(zipFilePath, FileMode.Open, FileAccess.ReadWrite, FileShare.Read))
{
using (var archive = new ZipArchive(zipToOpen, ZipArchiveMode.Read))
{
foreach (var zipArchiveEntry in archive.Entries)
{
if (!zipArchiveEntry.FullName.EndsWith("/"))
{
//中文出现乱码问题,截取中文段部分后把自定义的directoryName,拼接到前面
var entryFilePath = directoryName + '/' + Regex.Replace(zipArchiveEntry.FullName.Substring(zipArchiveEntry.FullName.IndexOf('/') + 1).Replace("/", @"\"), @"^\\*", "");
// Debug.Log("zipArchiveEntry.FullName=" +zipArchiveEntry.FullName);
// Debug.Log("entryFilePath=" + entryFilePath);
var filePath = Encoding.UTF8.GetString(Encoding.UTF8.GetBytes(directoryinfo + entryFilePath));
var content = new byte[zipArchiveEntry.Length];
zipArchiveEntry.Open().Read(content, 0, content.Length);
var greatFolder = Directory.GetParent(filePath);
if (!greatFolder.Exists)
greatFolder.Create();
File.WriteAllBytes(filePath, content);
}
}
}
}
result = true;
}
catch (Exception e)
{
Debug.Log(e);
result = false;
}
return result;
}
void UpdateText(float progress)
{
fill_data = progress;
}
}
fileFormatVersion: 2
guid: d7a84416b5768b04e98f5dc4097d6523
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using Aliyun.OSS;
using LitJson;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using TMPro;
using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.UI;
public class DloadMissionRowDarta : MonoBehaviour
{
public GameObject RowPrefab;
public GameObject content;
//public List<string[]> content_txt = new List<string[]>();
ZeusHub_Manager manager;
public List<GameObject> d_list;
// Start is called before the first frame update
void Start()
{
d_list = new List<GameObject>();
}
public void setDate(Production production, GetObjectRequest getObjectRequest,string downloadFilename)
{
var newObj = Instantiate(RowPrefab) as GameObject;
newObj.transform.SetParent(content.transform);
DloadMission d= newObj.GetComponent<DloadMission>();
d.title.text = production.title.text;
d.getProgress(getObjectRequest, downloadFilename,production);
//进度数据
//d.fill_data = production.fill_data;
newObj.transform.localScale = new Vector3(1, 1, 1);
d_list.Add(newObj);
}
public void getDate()
{
/*del();
foreach (GameObject item in d_list)
{
item.transform.SetParent(content.transform);
}*/
}
void del()
{
if (content.transform.childCount > 0)
{
for (int j = 0; j < content.transform.childCount; j++)
{
Destroy(content.transform.GetChild(j).gameObject);
}
}
}
}
fileFormatVersion: 2
guid: 98cb3c089517f7148938bfad628e6cfc
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
......@@ -24,11 +24,16 @@ public class ProductioRowData : MonoBehaviour
public Button[] page_btn;
private int kind;
public int kind;
public string pro_kind="";
public TMP_Text title;
// Start is called before the first frame update
void Start()
{
kind = 1;
while (!manager)
{
manager = ZeusHub_Manager.manager;
......@@ -171,69 +176,27 @@ public class ProductioRowData : MonoBehaviour
}
}
public void getall_list()
{
string json_data = "{\"limit\":10,\"page\":0}";
kind = 1;
StartCoroutine(getlist("/zeus/zeushub/getProductionView", json_data,2));
}
public void getuser_list()
public void getlist()
{
string json_data = "{\"limit\":10,\"page\":0,\"computer_code\":\"" + RobotCode.getMNum() + "\"}";
kind = 2;
StartCoroutine(getlist("/zeus/zeushub/getProductionList", json_data,1));
}
public void getallkind_list()
{
if (kind == 1)
{
string json_data = "{\"limit\":10,\"page\":0}";
StartCoroutine(getlist("/zeus/zeushub/getProductionView", json_data, 2));
}
else if (kind == 2)
if (pro_kind.Equals("3"))
{
string json_data = "{\"limit\":10,\"page\":0,\"computer_code\":\"" + RobotCode.getMNum() + "\"}";
StartCoroutine(getlist("/zeus/zeushub/getProductionList", json_data, 1));
pro_kind = "";
}
}
public void getvr_list()
{
if (kind==1)
{
string json_data = "{\"limit\":10,\"page\":0,\"kind\":2}";
StartCoroutine(getlist("/zeus/zeushub/getProductionView", json_data, 2));
}
else if (kind==2)
{
string json_data = "{\"limit\":10,\"page\":0,\"computer_code\":\"" + RobotCode.getMNum() + "\",\"kind\":2}";
StartCoroutine(getlist("/zeus/zeushub/getProductionList", json_data, 1));
}
}
public void getpc_list()
{
if (kind == 1)
{
string json_data = "{\"limit\":10,\"page\":0,\"kind\":1}";
string json_data = "{\"limit\":10,\"page\":0,\"kind\":\"" + pro_kind+ "\",\"title_name\":\""+ TextTool.relacestr(title .text)+ "\"}";
//string json_data = "{\"limit\":10,\"page\":0,\"kind\":" + (pro_kind.Equals("1") ? 1 : 2) + "}";
StartCoroutine(getlist("/zeus/zeushub/getProductionView", json_data, 2));
}
else if (kind == 2)
{
string json_data = "{\"limit\":10,\"page\":0,\"computer_code\":\"" + RobotCode.getMNum() + "\",\"kind\":1}";
string json_data = "{\"limit\":10,\"page\":0,\"computer_code\":\"" +manager._RobotCode + "\",\"kind\":\""+ pro_kind + "\",\"title_name\":\"" + TextTool.relacestr(title.text) + "\"}";
// string json_data = "{\"limit\":10,\"page\":0,\"computer_code\":\"" + manager._RobotCode + "\",\"kind\":" + (pro_kind.Equals("1") ? 1 : 2) + "}";
StartCoroutine(getlist("/zeus/zeushub/getProductionList", json_data, 1));
}
}
void del()
{
if (content.transform.childCount > 0)
......
......@@ -53,6 +53,7 @@ public class Production : MonoBehaviour
private bool is_save_robotcode = false;
public void Start()
{
updateUIText = new UpdateUIText(UpdateText);
......@@ -66,6 +67,9 @@ public class Production : MonoBehaviour
{
is_save_robotcode = false;
setRpbotCode();
manager.normalPage.SetActive(true);
manager.normalPage.GetComponent<NormalText>().msg.text = "已下载到路径"+url;
url = "";
// manager.tishi.text = "已下载到路径" + d[id]["url"];
}
}
......@@ -165,6 +169,7 @@ public class Production : MonoBehaviour
}
is_save_robotcode = true;
url = jd["apppath"].ToString();
/* Debug.Log(manager._RobotCode);
val = new JsonData();
......@@ -229,25 +234,35 @@ public class Production : MonoBehaviour
case 2: //保存配置信息
if(jsonData!=null && jsonData.ContainsKey("code") && jsonData["code"].ToString().Equals("0"))
{
manager.tishi.text = "软件已授权到本机";
manager.normalPage.SetActive(true);
manager.normalPage.GetComponent<NormalText>().msg.text = "软件已授权到本机";
//manager.tishi.text = "软件已授权到本机";
}
break;
case 3:
manager.normalPage.SetActive(true);
if (jsonData!=null && jsonData.ContainsKey("code") && jsonData["code"].ToString().Equals("0"))
{
manager.tishi.text = "软件已授权到本机";
}else if (jsonData != null && jsonData.ContainsKey("code") && jsonData["code"].ToString().Equals("1"))
//manager.tishi.text = "软件已授权到本机";
manager.normalPage.GetComponent<NormalText>().msg.text = "软件已授权到本机";
}
else if (jsonData != null && jsonData.ContainsKey("code") && jsonData["code"].ToString().Equals("1"))
{
switch (jsonData["result"].ToString())
{
case "ishas":
manager.tishi.text = "软件已授权过,无需重复授权";
manager.normalPage.GetComponent<NormalText>().msg.text = "软件已授权过,无需重复授权";
//manager.tishi.text = "软件已授权过,无需重复授权";
break;
case "is_pass_date":
manager.tishi.text = "软件过期";
manager.normalPage.GetComponent<NormalText>().msg.text = "软件过期";
//manager.tishi.text = "软件过期";
break;
case "no_order_num":
manager.tishi.text = "没有订单";
manager.normalPage.GetComponent<NormalText>().msg.text = "没有订单";
//manager.tishi.text = "没有订单";
break;
}
}
......
......@@ -66,18 +66,21 @@ namespace AliyunOSS
isdown = true;
Thread thread = null;
UpdateUIText updateUIText = new UpdateUIText(UpdateText);
var getObjectRequest = new GetObjectRequest(Setting.bucketName, fullFilePath);
// production.title.text = appname;
//对象,设置到下载页
production.manager.downloadpage.GetComponent<DloadMissionRowDarta>().setDate(production, getObjectRequest, downloadFilename);
thread = new Thread(()=>{
try
{
float TotalByte = 0;
var len = 0;
var getObjectRequest = new GetObjectRequest(Setting.bucketName, fullFilePath);
//下载进度
getObjectRequest.StreamTransferProgress += (obg, args) =>
{
......@@ -105,42 +108,43 @@ namespace AliyunOSS
// 下载文件到流。OssObject包含了文件的各种信息,如文件所在的存储空间、文件名、元信息以及一个输入流。
var obj = client.GetObject(getObjectRequest);
using (var requestStream = obj.Content)
{
byte[] buf = new byte[1024];
var fs = File.Open(downloadFilename, FileMode.OpenOrCreate);
{
byte[] buf = new byte[1024];
var fs = File.Open(downloadFilename, FileMode.OpenOrCreate);
// 通过输入流将文件的内容读取到文件或者内存中。
while ((len = requestStream.Read(buf, 0, 1024)) != 0)
{
fs.Write(buf, 0, len);
}
fs.Close();
// 通过输入流将文件的内容读取到文件或者内存中。
while ((len = requestStream.Read(buf, 0, 1024)) != 0)
{
fs.Write(buf, 0, len);
}
fs.Close();
//解压
//ZipFile.ExtractToDirectory(downloadFilename, "D://DownloadDemo/");
//解压
//ZipFile.ExtractToDirectory(downloadFilename, "D://DownloadDemo/");
Debug.Log("解压前:" + downloadFilename.Substring(downloadFilename.LastIndexOf('/') + 1, downloadFilename.LastIndexOf('.') - downloadFilename.LastIndexOf('/') - 1));
Debug.Log("解压前:" + downloadFilename.Substring(downloadFilename.LastIndexOf('/') + 1, downloadFilename.LastIndexOf('.') - downloadFilename.LastIndexOf('/') - 1));
UnZip(downloadFilename, "D://DownloadDemo/", downloadFilename.Substring(downloadFilename.LastIndexOf('/') + 1, downloadFilename.LastIndexOf('.') - downloadFilename.LastIndexOf('/') - 1));
UnZip(downloadFilename, "D://DownloadDemo/", downloadFilename.Substring(downloadFilename.LastIndexOf('/') + 1, downloadFilename.LastIndexOf('.') - downloadFilename.LastIndexOf('/') - 1));
//删除文件
File.Delete(downloadFilename);
//删除文件
File.Delete(downloadFilename);
//string json = "{\"code\":\"" + RobotCode.getMNum() + "\",\"productionid\":\"" + id + "\"}";
js_data = new JsonData();
js_data["apppath"] = "D://DownloadDemo/" + downloadFilename.Substring(downloadFilename.LastIndexOf("/") + 1, downloadFilename.LastIndexOf(".") - (downloadFilename.Substring(0, downloadFilename.LastIndexOf("/") + 1).Length)) + "/" + appname;
js_data["productionid"] = id;
//js_data["code"] = RobotCode.getMNum();
//保存
//production.OnReceiveMsg.Invoke(js_data, "savepath");
//string json = "{\"code\":\"" + RobotCode.getMNum() + "\",\"productionid\":\"" + id + "\"}";
js_data = new JsonData();
js_data["apppath"] = "D://DownloadDemo/" + downloadFilename.Substring(downloadFilename.LastIndexOf("/") + 1, downloadFilename.LastIndexOf(".") - (downloadFilename.Substring(0, downloadFilename.LastIndexOf("/") + 1).Length)) + "/" + appname;
js_data["productionid"] = id;
//js_data["code"] = RobotCode.getMNum();
//保存
//production.OnReceiveMsg.Invoke(js_data, "savepath");
updateUIText.BeginInvoke(production,js_data, null, null);
updateUIText.BeginInvoke(production,js_data, null, null);
isdown = false;
//browser.CallFunction("msg", "D://DownloadDemo/" + downloadFilename.Substring(downloadFilename.LastIndexOf("/") + 1, downloadFilename.LastIndexOf(".") - (downloadFilename.Substring(0, downloadFilename.LastIndexOf("/") + 1).Length)) + "/" + appname, id, 1);
}
isdown = false;
//browser.CallFunction("msg", "D://DownloadDemo/" + downloadFilename.Substring(downloadFilename.LastIndexOf("/") + 1, downloadFilename.LastIndexOf(".") - (downloadFilename.Substring(0, downloadFilename.LastIndexOf("/") + 1).Length)) + "/" + appname, id, 1);
}
}
catch (OssException e)
{
......@@ -155,7 +159,7 @@ namespace AliyunOSS
thread.Abort();
}
});
thread.Start();
//thread.Start();
}
// 定义一个函数,用于在UI线程中更新UI元素
......
This diff is collapsed.
......@@ -531,11 +531,11 @@ MonoBehaviour:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: df0730c3d4450b146b8bf110403860f6, type: 3}
m_Type: 1
m_Type: 3
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillMethod: 0
m_FillAmount: 0
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
......@@ -593,7 +593,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &6673559099825853273
RectTransform:
m_ObjectHideFlags: 0
......@@ -759,6 +759,7 @@ GameObject:
m_Component:
- component: {fileID: 5455300078322386040}
- component: {fileID: 3496433739759064018}
- component: {fileID: 5177321513389834456}
m_Layer: 5
m_Name: "\u4E0B\u8F7D\u5361\u7247"
m_TagString: Untagged
......@@ -833,6 +834,33 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &5177321513389834456
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5455300078322386047}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d7a84416b5768b04e98f5dc4097d6523, type: 3}
m_Name:
m_EditorClassIdentifier:
title: {fileID: 452572634745476164}
rawImage: {fileID: 0}
btn: []
kind: []
welBorews: {fileID: 0}
path:
id:
val_path:
appname:
url:
manager: {fileID: 0}
progress_side: {fileID: 891369778914445605}
preset_image: {fileID: 922071236828745214}
fill_data: 0
mission_name: {fileID: 0}
--- !u!1 &5455300079187368418
GameObject:
m_ObjectHideFlags: 0
......@@ -999,7 +1027,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &6794177039675862224
RectTransform:
m_ObjectHideFlags: 0
......@@ -1117,7 +1145,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &7119647756621128577
RectTransform:
m_ObjectHideFlags: 0
......
......@@ -413,7 +413,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 7492227972721541156}
m_RootOrder: 2
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
......@@ -545,8 +545,8 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 7492227971918481864}
- {fileID: 1590421672708752766}
- {fileID: 7492227972548742375}
- {fileID: 1590421672708752766}
m_Father: {fileID: 7492227973244611020}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
......@@ -717,6 +717,36 @@ PrefabInstance:
propertyPath: m_Name
value: "btn-\u786E\u5B9A"
objectReference: {fileID: 0}
- target: {fileID: 7508560583783217274, guid: a4bccfd75c779c34ba1efe2fcd87d40c,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7508560583783217274, guid: a4bccfd75c779c34ba1efe2fcd87d40c,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode
value: 6
objectReference: {fileID: 0}
- target: {fileID: 7508560583783217274, guid: a4bccfd75c779c34ba1efe2fcd87d40c,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 7492227973244611027}
- target: {fileID: 7508560583783217274, guid: a4bccfd75c779c34ba1efe2fcd87d40c,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 7508560583783217274, guid: a4bccfd75c779c34ba1efe2fcd87d40c,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
value: SetActive
objectReference: {fileID: 0}
- target: {fileID: 7508560583783217274, guid: a4bccfd75c779c34ba1efe2fcd87d40c,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
- target: {fileID: 7508560583783217275, guid: a4bccfd75c779c34ba1efe2fcd87d40c,
type: 3}
propertyPath: m_Pivot.x
......@@ -1001,7 +1031,7 @@ PrefabInstance:
- target: {fileID: 8208916088210402484, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_RootOrder
value: 1
value: 2
objectReference: {fileID: 0}
- target: {fileID: 8208916088210402484, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
......@@ -1088,6 +1118,36 @@ PrefabInstance:
propertyPath: m_Name
value: "btn-\u5173\u95ED"
objectReference: {fileID: 0}
- target: {fileID: 8208916088210402491, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8208916088210402491, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode
value: 6
objectReference: {fileID: 0}
- target: {fileID: 8208916088210402491, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 7492227973244611027}
- target: {fileID: 8208916088210402491, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 8208916088210402491, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
value: SetActive
objectReference: {fileID: 0}
- target: {fileID: 8208916088210402491, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 89cf152700f18884d9701f8b525fadb6, type: 3}
--- !u!224 &1590421672708752766 stripped
......
......@@ -413,7 +413,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1252950787422003723}
m_RootOrder: 2
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
......@@ -619,8 +619,8 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1252950786618944487}
- {fileID: 6955965388910159697}
- {fileID: 1252950787316182728}
- {fileID: 6955965388910159697}
m_Father: {fileID: 1252950787977956323}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
......@@ -1001,7 +1001,7 @@ PrefabInstance:
- target: {fileID: 8208916088210402484, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_RootOrder
value: 1
value: 2
objectReference: {fileID: 0}
- target: {fileID: 8208916088210402484, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
......@@ -1098,6 +1098,36 @@ PrefabInstance:
propertyPath: m_Name
value: "btn-\u5173\u95ED"
objectReference: {fileID: 0}
- target: {fileID: 8208916088210402491, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8208916088210402491, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode
value: 6
objectReference: {fileID: 0}
- target: {fileID: 8208916088210402491, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 1252950787977956348}
- target: {fileID: 8208916088210402491, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 8208916088210402491, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
value: SetActive
objectReference: {fileID: 0}
- target: {fileID: 8208916088210402491, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 89cf152700f18884d9701f8b525fadb6, type: 3}
--- !u!224 &6955965388910159697 stripped
......@@ -1264,6 +1294,36 @@ PrefabInstance:
propertyPath: m_Name
value: "btn-\u786E\u5B9A"
objectReference: {fileID: 0}
- target: {fileID: 7508560583783217274, guid: a4bccfd75c779c34ba1efe2fcd87d40c,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7508560583783217274, guid: a4bccfd75c779c34ba1efe2fcd87d40c,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode
value: 6
objectReference: {fileID: 0}
- target: {fileID: 7508560583783217274, guid: a4bccfd75c779c34ba1efe2fcd87d40c,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 1252950787977956348}
- target: {fileID: 7508560583783217274, guid: a4bccfd75c779c34ba1efe2fcd87d40c,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 7508560583783217274, guid: a4bccfd75c779c34ba1efe2fcd87d40c,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
value: SetActive
objectReference: {fileID: 0}
- target: {fileID: 7508560583783217274, guid: a4bccfd75c779c34ba1efe2fcd87d40c,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
- target: {fileID: 7508560583783217275, guid: a4bccfd75c779c34ba1efe2fcd87d40c,
type: 3}
propertyPath: m_Pivot.x
......
......@@ -178,7 +178,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 2932998346240016087}
m_RootOrder: 2
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
......@@ -310,8 +310,8 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 2932998345432758075}
- {fileID: 6440138414368160653}
- {fileID: 2932998346067079700}
- {fileID: 6440138414368160653}
m_Father: {fileID: 2932998346758739775}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
......@@ -1073,7 +1073,7 @@ PrefabInstance:
- target: {fileID: 8208916088210402484, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_RootOrder
value: 1
value: 2
objectReference: {fileID: 0}
- target: {fileID: 8208916088210402484, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
......@@ -1170,6 +1170,36 @@ PrefabInstance:
propertyPath: m_Name
value: "btn-\u5173\u95ED"
objectReference: {fileID: 0}
- target: {fileID: 8208916088210402491, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8208916088210402491, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode
value: 6
objectReference: {fileID: 0}
- target: {fileID: 8208916088210402491, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 2932998346758739744}
- target: {fileID: 8208916088210402491, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 8208916088210402491, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
value: SetActive
objectReference: {fileID: 0}
- target: {fileID: 8208916088210402491, guid: 89cf152700f18884d9701f8b525fadb6,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 89cf152700f18884d9701f8b525fadb6, type: 3}
--- !u!224 &6440138414368160653 stripped
......
......@@ -7217,3 +7217,5 @@
2023/5/6 11:05:40 api:http://8.134.114.12:11011/oauth/token HTTP/1.1 502 Bad Gateway
2023/5/6 11:07:21 api:http://8.134.114.12:11011/oauth/token HTTP/1.1 502 Bad Gateway
2023/5/6 16:56:58 api:http://8.134.114.12:11011/oauth/token HTTP/1.1 502 Bad Gateway
2023/5/7 14:42:14 api:http://8.134.114.12:11011/oauth/token HTTP/1.1 502 Bad Gateway
2023/5/8 8:46:59 api:http://8.134.114.12:11011/oauth/token Cannot connect to destination host
{"token":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjAzZjUzNDNmN2U5NWRmMjYyZGQ2NTJiOTUwZTM4YTUwNzQwZDBjM2Y2MWI2OTU3MTZmZTQ2NjA2MTVlZjJiYzVhYjgzZjRmMGFiMWU4YWM1In0.eyJhdWQiOiIyYmM1ZjE1Zi0wNzE3LTQ4ZjktYTc4Mi03NzQ5M2FjNDUwODQiLCJqdGkiOiIwM2Y1MzQzZjdlOTVkZjI2MmRkNjUyYjk1MGUzOGE1MDc0MGQwYzNmNjFiNjk1NzE2ZmU0NjYwNjE1ZWYyYmM1YWI4M2Y0ZjBhYjFlOGFjNSIsImlhdCI6MTY4MzM2MzY4NCwibmJmIjoxNjgzMzYzNjg0LCJleHAiOjE2ODM2NjM2ODQsInN1YiI6IjkwMSIsInNjb3BlcyI6WyJhdXRoZW50aWNhdGVkIiwiZW50ZXJwcmlzZSIsIndlYm1hc3RlciJdfQ.lMSJ309oPU3SHGem4DEEFjeQsCizAevbpWXmlTH_M-AVugKxqLHGG0xwmHDZ9uvPYLOuhIDLCkCjmo2cF3AhK9Cwj_AKBFAbIs0APcST6xUBGQyjLykz8ddd49NXxe5ti4QHxO-ZJY3G5FOPWMP4LjtY0eOTsgw12slqMN1TM60Yr3snxtS6AF0n7kTDAq8ehkZx6zm36A1cr_pUAuMlmQisydUEz_1IIy9podNaPwJT1EOd5LVuzdh_pbo5_2VU-9y2EAR7AzCmxNUuVaxAYbLR349Q9llYUSeQxZTKquWRAoR6bMD4Rq2op28D5AkE7NFQfPvbgSKTD-N6vwekN7yHuoYTrXx1MQRngH84JvcmaWADoP3zpHOUZKF4aw0TOi91qQFM334MNYWlw1WBs3oNf68GDCEWCQ-i1bEm9tR7USJ-mI5uKld4aB1kS8UZi-MyY4wVzQSJxZAzJqKt4ttanY8SXvOWYnfcFQjI5u4YGj39X9L-rlqG_TkZ84juIqx2z1A9bVlL8l583_pQ1dXBnLW-IV18ZayN7CUa0i30kOo2xYdIt23QpjOAafx6bsIpTlSZt5hS2p6xlNPyX4-hW8WD_l-u_AWWBnkMHBAkrwzye_p6lMQJfEVO8C542PlyhwqlQZahZz81uU1V1ax6Frlx9CvLnufp8ZRgQcI","productionid":"12890","filepath":"D://DownloadDemo/新盛世HUB/Zsnewcentury.exe"}
\ No newline at end of file
{"token":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFlMzUzZGIzOTE0MjBiNDQ2MDI5M2E2NTQwOGNlNWZlOWViYmVmMzI2YjVkNWIwMTFlODg1N2NiZjA0NzUwN2M2OTZjOGU3NDg4NDgyNDliIn0.eyJhdWQiOiIyYmM1ZjE1Zi0wNzE3LTQ4ZjktYTc4Mi03NzQ5M2FjNDUwODQiLCJqdGkiOiJhZTM1M2RiMzkxNDIwYjQ0NjAyOTNhNjU0MDhjZTVmZTllYmJlZjMyNmI1ZDViMDExZTg4NTdjYmYwNDc1MDdjNjk2YzhlNzQ4ODQ4MjQ5YiIsImlhdCI6MTY4MzQ0MzY5NCwibmJmIjoxNjgzNDQzNjk0LCJleHAiOjE2ODM3NDM2OTQsInN1YiI6IjkwMSIsInNjb3BlcyI6WyJhdXRoZW50aWNhdGVkIiwiZW50ZXJwcmlzZSIsIndlYm1hc3RlciJdfQ.ZKk6Rv_h38oNYynAPDmVVb8MU7wbq3UXeSRfSIwnYgey0bCU8MsSilK5MtO_9oSTFbZytxz1heyfu5i_54H2BjhoTaTJpuEOMxneX_FJzG71SJT1zHz0aLTGKRrehVl6JRrxZ8KGG8UbqVFm8rt-qgDO1NpC7aSNx4D1S9ckAtAcnVOThSk9qpsCq3MC8WNWinaGW_hbN0DjTf9QoSO5sI_CZE5L20FSxgDtRGqm4qMlmzNAlnfAIfWY4ae2xePrhfZaJ5N-HH4D5jT4YCv-mDfnYGm-rsaZHdevg-ydsCR0HC5iJBSoFOiPOsrlU6BKSPbuckzFu_3OROYgFhsrtRNigqTgntNR5-vHU_k6cupDyPDLO-TrAnPOAXHfI4zmT-pUlWYFbhOY7qQ7QlWwA4Rksl7t5w92HuMDvVa2eMSm2A5YwPXIML-t0hvuQ-vnVsFDeSRcrKFBl4Rkj2o1NOqOd-iy-6XqGhk3d6J5eLqZka4bsU3w2WkXYJThhrY0uw8FPhPaiGWZwkLzA1MVeTuquer4IpsB8yR9rkehBOqMxppncvTjfRBk2ibedQMUhjGHIAn5iIBqWeSWBuj1-PMKZLSLwFoIYOmUkXyYO8XwrfUo7R8Xnx341Gas2pkvzYVFKJawMN7VXh2L6Ihp5kzz3Qk4aiCaP_418DQMP64","productionid":"12890","filepath":"D://DownloadDemo/新盛世HUB/Zsnewcentury.exe"}
\ No newline at end of file
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