|
|
@@ -1,4 +1,5 @@
|
|
|
-using Common;
|
|
|
+using System.Web;
|
|
|
+using Common;
|
|
|
using Custom;
|
|
|
using LitJson;
|
|
|
|
|
|
@@ -9,7 +10,8 @@ namespace Feign
|
|
|
public static string makeFile(string data)
|
|
|
{
|
|
|
string url = Utils.FeignUrl["omega_make"] + "/v1/omega_make/vscode/makeFile";
|
|
|
- string content = Function.PostWebRequest(url, "{\"content\":" + data + "}", "application/json");
|
|
|
+ Function.WriteLog("{\"content\":\"" + HttpUtility.UrlEncode(data) + "\"}", "生成文件");
|
|
|
+ string content = Function.PostWebRequest(url, "{\"content\":\"" + HttpUtility.UrlEncode(data) + "\"}", "application/json");
|
|
|
JsonData jsonObj = JsonMapper.ToObject(content);
|
|
|
if(jsonObj["status"].ToString() == "1")
|
|
|
{
|