|
|
|
@ -133,10 +133,10 @@ public class Ghre_OpenClassController : BaseController<IGhre_OpenClassServices, |
|
|
|
|
|
|
|
|
|
#region 取消发布 |
|
|
|
|
[HttpPost, Route("CancelPublished/{Id}")] |
|
|
|
|
public async Task<ServiceResult> CancelPublished(long Id) => await _service.UpdateStatus([Id], "Temporary"); |
|
|
|
|
public async Task<ServiceResult> CancelPublished(long Id) => await _service.UpdateStatus([Id], "Temporary", "CancelPublished"); |
|
|
|
|
|
|
|
|
|
[HttpPost, Route("CancelPublished")] |
|
|
|
|
public async Task<ServiceResult> CancelPublished([FromBody] List<long> Ids) => await _service.UpdateStatus(Ids, "Temporary"); |
|
|
|
|
public async Task<ServiceResult> CancelPublished([FromBody] List<long> Ids) => await _service.UpdateStatus(Ids, "Temporary", "CancelPublished"); |
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
#region 转入已开课 |
|
|
|
|