public object Transmit(JObject paramJo) { try { string newusercode = !paramJo["transmituser"].IsNullOrEmpty() ? (string)paramJo["transmituser"] : string.Empty; if (string.IsNullOrEmpty(newusercode)) { throw new Exception("未设置转签人员"); } WorkFlowExecutionContext ec = new WorkFlowExecutionContext(); ec.LoadFormJson(paramJo); if (string.IsNullOrEmpty(ec.Remark)) { ec.Remark = "转签"; } ec.IsMobile = true; service.ExecuteTaskReassign(ec, newusercode); return(AppJsonHelper.ConvertResultToJson(true, string.Empty)); } catch (System.Exception ex) { return(DCHelper.ErrorMessage(ex.Message)); } }