|
@@ -1938,15 +1938,16 @@ func (this *CalendarController) Delete() {
|
|
|
this.FailWithMessage("删除失败!", "删除失败!UpdateCalendarResearcher:"+err.Error())
|
|
|
return
|
|
|
}
|
|
|
- itemApiLog := new(roadshow.RsCalendarApiLog)
|
|
|
- itemApiLog.CreateTime = time.Now()
|
|
|
- itemApiLog.Remark = "小程序CRM手动删除"
|
|
|
- itemApiLog.Url = sysUser.RealName
|
|
|
- itemApiLog.Body = ""
|
|
|
- itemApiLog.Result = ""
|
|
|
- itemApiLog.RsCalendarResearcherId = req.RsCalendarResearcherId
|
|
|
- go roadshow.AddRsCalendarApiLog(itemApiLog)
|
|
|
}
|
|
|
+ itemApiLog := new(roadshow.RsCalendarApiLog)
|
|
|
+ itemApiLog.CreateTime = time.Now()
|
|
|
+ itemApiLog.Remark = "小程序CRM手动删除"
|
|
|
+ itemApiLog.Url = sysUser.RealName
|
|
|
+ itemApiLog.Body = ""
|
|
|
+ itemApiLog.Result = ""
|
|
|
+ itemApiLog.RsCalendarResearcherId = req.RsCalendarResearcherId
|
|
|
+ itemApiLog.RsCalendarId = req.RsCalendarId
|
|
|
+ go roadshow.AddRsCalendarApiLog(itemApiLog)
|
|
|
//`status` int(11) DEFAULT '0' COMMENT '1:待接受,2:已接受,3:已拒绝,4:已删除,5:已撤回,6:已结束',
|
|
|
for _, rsCalendarResearcherItem := range rsCalendarResearcherItemList {
|
|
|
//待接受、已接受的情况,需要同步删除上海那边的日程
|