Merge remote-tracking branch 'origin/main'
commit
5d46e609df
|
|
@ -398,7 +398,7 @@ namespace OpenAuth.App.ServiceApp
|
||||||
|
|
||||||
public async Task<Response<string>> UpdatePicStatus(string id, int showOnMap, int display, string fileTags, string graffitiJson)
|
public async Task<Response<string>> UpdatePicStatus(string id, int showOnMap, int display, string fileTags, string graffitiJson)
|
||||||
{
|
{
|
||||||
string sql = "update lasa_mediafile set \"ShowOnMap\"=" + showOnMap + ",display=" + display+ ",\"file_tags\"='"+fileTags + ",display='" + display + "',\"graffitiJson\"='" + graffitiJson + "' where \"Id\"='" + id+"'";
|
string sql = "update lasa_mediafile set \"ShowOnMap\"=" + showOnMap + ",display=" + display+ ",\"FileTags\"='" + fileTags + ",display='" + display + "',\"GraffitiJson\"='" + graffitiJson + "' where \"Id\"='" + id+"'";
|
||||||
await _client.Ado.ExecuteCommandAsync(sql);
|
await _client.Ado.ExecuteCommandAsync(sql);
|
||||||
return new Response<string> { Result = "修改成功!" };
|
return new Response<string> { Result = "修改成功!" };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -101,6 +101,14 @@ public class LasaMediaFile
|
||||||
public int? ShowOnMap { get; set; }
|
public int? ShowOnMap { get; set; }
|
||||||
|
|
||||||
public int? display { get; set; }
|
public int? display { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
public string GraffitiJson { get; set; }
|
||||||
|
|
||||||
|
public string FileTags { get; set; }
|
||||||
|
|
||||||
|
public int Size { get; set; }
|
||||||
|
|
||||||
|
public int Width { get; set; }
|
||||||
|
|
||||||
|
public int Height { get; set; }
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue