|
|
@@ -32,7 +32,8 @@ namespace Learun.Application.WebApi |
|
|
|
Get["/form"] = GetForm; |
|
|
|
Post["/delete"] = DeleteForm; |
|
|
|
Post["/save"] = SaveForm; |
|
|
|
Post["/saveDraft"] = SaveDraft; |
|
|
|
Post["/saveDraft"] = SaveDraft; |
|
|
|
Post["/savePt"] = SavePt; |
|
|
|
} |
|
|
|
#region 获取数据 |
|
|
|
|
|
|
@@ -144,6 +145,19 @@ namespace Learun.Application.WebApi |
|
|
|
|
|
|
|
return Success("保存成功!"); |
|
|
|
} |
|
|
|
public Response SavePt(dynamic _) |
|
|
|
{ |
|
|
|
ReqFormEntity parameter = this.GetReqData<ReqFormEntity>(); |
|
|
|
JournalSendEntity entity = parameter.strEntity.ToObject<JournalSendEntity>(); |
|
|
|
var userInfo = LoginUserInfo.Get(); |
|
|
|
entity.JSenderId = userInfo.userId; |
|
|
|
entity.JSender = userInfo.realName; |
|
|
|
entity.JIsSend = false; |
|
|
|
entity.JSendTime = DateTime.Now; |
|
|
|
journalIBLL.SaveEntity(parameter.keyValue, entity); |
|
|
|
|
|
|
|
return Success("保存成功!"); |
|
|
|
} |
|
|
|
#endregion |
|
|
|
|
|
|
|
#region 私有类 |
|
|
|