|
|
|
@ -419,6 +419,21 @@ namespace OpenAuth.App.ServiceApp
|
|
|
|
|
}
|
|
|
|
|
return new Response<string> { Result = "删除成功!" };
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public async Task<Response<string>> UpdatePicName(string id, string name)
|
|
|
|
|
{
|
|
|
|
|
string sql = "update lasa_mediafile set \"Name\"='" + name + "' where \"Id\"='" + id + "'";
|
|
|
|
|
await _client.Ado.ExecuteCommandAsync(sql);
|
|
|
|
|
return new Response<string> { Result = "修改成功!" };
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public async Task<Response<string>> UpdatePicParentKey(string id, string ParentKey)
|
|
|
|
|
{
|
|
|
|
|
string sql = "update lasa_mediafile set \"Name\"='" + ParentKey + "' where \"Id\"='" + id + "'";
|
|
|
|
|
await _client.Ado.ExecuteCommandAsync(sql);
|
|
|
|
|
return new Response<string> { Result = "修改成功!" };
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|