|
@@ -666,8 +666,16 @@ func (c *TaskController) Add() {
|
|
|
c.ServeJSON()
|
|
|
return
|
|
|
}
|
|
|
+
|
|
|
+ // 查询信息采集信息
|
|
|
+ user, is := Account.Read_User(T_uuid)
|
|
|
+ if !is {
|
|
|
+ c.Data["json"] = lib.JSONS{Code: 202, Msg: "T_uuid 错误!"}
|
|
|
+ c.ServeJSON()
|
|
|
+ return
|
|
|
+ }
|
|
|
var_ := Task.Task{
|
|
|
- T_Distributor_id: User_r.T_Distributor_id,
|
|
|
+ T_Distributor_id: user.T_Distributor_id,
|
|
|
T_InfoCollection_id: T_InfoCollection_id,
|
|
|
T_InfoTemplate_id: infoCollection.T_InfoTemplate_id,
|
|
|
T_start_time: infoCollection.T_start_time, // 项目开始时间使用信息采集开始时间
|