|
@@ -9,7 +9,7 @@ namespace Feign
|
|
|
public static string makeFile(string data)
|
|
public static string makeFile(string data)
|
|
|
{
|
|
{
|
|
|
string url = Utils.FeignUrl["omega_make"] + "/v1/omega_make/vscode/makeFile";
|
|
string url = Utils.FeignUrl["omega_make"] + "/v1/omega_make/vscode/makeFile";
|
|
|
- string content = Function.PostWebRequest(url, "{\"content\":\"" + data + "\"}", "application/json");
|
|
|
|
|
|
|
+ string content = Function.PostWebRequest(url, "{\"content\":" + data + "}", "application/json");
|
|
|
JsonData jsonObj = JsonMapper.ToObject(content);
|
|
JsonData jsonObj = JsonMapper.ToObject(content);
|
|
|
if(jsonObj["status"].ToString() == "1")
|
|
if(jsonObj["status"].ToString() == "1")
|
|
|
{
|
|
{
|