### 2023-01-21更新
------ #### SuperDesign V2.0.2301.2101 - *.[新增]新增API编辑器,自动保存和快速插入修改参数。 - *.[改进]使用新款高亮编辑器。
This commit is contained in:
1 parent
dca2bd3d1c
commit
c7b33920bd
49 files changed
+4529
-1658
No files matched your search
@@ -138,7 +138,6 @@ namespace 开发辅助工具.Tools
|
||||
{
|
||||
return;
|
||||
}
|
||||
DataProvider mydb = new DataProvider();
|
||||
IDbInterface db = Itrycn_Db.CreateDataProvider(Itrycn_Db.dataType);
|
||||
if (db.ConnDb(Itrycn_Db.Sys_SQLConn) == 1)
|
||||
{
|
||||
|
||||
@@ -45,7 +45,6 @@ namespace 开发辅助工具.Manager
|
||||
}
|
||||
public static void CreateSysTable()
|
||||
{
|
||||
DataProvider mydb = new DataProvider();
|
||||
IDbInterface db = CreateDataProvider(dataType);
|
||||
if (db.ConnDb(Sys_SQLConn) == 1)
|
||||
{
|
||||
@@ -65,7 +64,6 @@ namespace 开发辅助工具.Manager
|
||||
}
|
||||
public static void CreateUserTable()
|
||||
{
|
||||
DataProvider mydb = new DataProvider();
|
||||
IDbInterface db = CreateDataProvider(dataType);
|
||||
if (db.ConnDb(User_SQLConn) == 1)
|
||||
{
|
||||
@@ -109,12 +107,24 @@ namespace 开发辅助工具.Manager
|
||||
#endregion
|
||||
#region 设置表
|
||||
mySQL.Clear();
|
||||
mySQL.TableName = "Settings"; ;
|
||||
mySQL.TableName = "Settings";
|
||||
mySQL.AddField("Name", "");
|
||||
mySQL.AddField("Value", "");//值
|
||||
mySQL.AddField("addTime", DateTime.Now);
|
||||
db.CreateDb(mySQL);
|
||||
#endregion
|
||||
#region API表
|
||||
mySQL.Clear();
|
||||
mySQL.TableName = "api";
|
||||
mySQL.AddField("Name", "");
|
||||
mySQL.AddField("Url", "");
|
||||
mySQL.AddField("APIName", "");
|
||||
mySQL.AddField("Postdata", "");
|
||||
mySQL.AddField("ClickCount", 0);//点击次数
|
||||
mySQL.AddField("editTime", DateTime.Now);
|
||||
mySQL.AddField("addTime", DateTime.Now);
|
||||
db.CreateDb(mySQL);
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace 开发辅助工具.Manager
|
||||
{
|
||||
try
|
||||
{
|
||||
var jo= (JObject)JsonConvert.DeserializeObject(str);
|
||||
var jo= JsonConvert.DeserializeObject(str);
|
||||
return true;
|
||||
}
|
||||
catch(Exception ex)
|
||||
|
||||
@@ -188,12 +188,13 @@ namespace 开发辅助工具.Manager
|
||||
if (RyFiles.CopyFile(sourch_folder + "\\x64\\*", _path + "\\x64\\") != 0)
|
||||
{ _error_str += sourch_folder + "\\x64\\*\r\n"; error++; }
|
||||
}
|
||||
if (RyFiles.CopyFile(dllpath, files[i]) != 0)
|
||||
if (dllpath!= files[i] && RyFiles.CopyFile(dllpath, files[i]) != 0)
|
||||
{ _error_str += files[i]+ "\r\n"; error++; }
|
||||
var dll_xml_path = System.IO.Path.GetDirectoryName(dllpath) +"\\"+ System.IO.Path.GetFileNameWithoutExtension(dllpath) + ".xml";
|
||||
if (System.IO.File.Exists(dll_xml_path))
|
||||
{
|
||||
if (RyFiles.CopyFile(dll_xml_path, System.IO.Path.GetDirectoryName(files[i]) + "\\" + System.IO.Path.GetFileNameWithoutExtension(files[i]) + ".xml") != 0)
|
||||
var to_xml_path = System.IO.Path.GetDirectoryName(files[i]) + "\\" + System.IO.Path.GetFileNameWithoutExtension(files[i]) + ".xml";
|
||||
if (dll_xml_path.ToLower()!=to_xml_path.ToLower() && RyFiles.CopyFile(dll_xml_path, to_xml_path) != 0)
|
||||
{ _error_str += files[i] + "\r\n"; error++; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user