|
@@ -36,7 +36,7 @@ class DirectlyIdentify extends AdminController{
|
|
|
|
|
|
$id = Db::table("new_talent_zhiren")->insertGetId($zhiren_data);
|
|
$id = Db::table("new_talent_zhiren")->insertGetId($zhiren_data);
|
|
|
|
|
|
- //queue("app\job\Import", ["id" => $id,"type" => 1]);
|
|
|
|
|
|
+ queue("app\job\Import", ["id" => $id,"type" => 1]);
|
|
|
|
|
|
$response_obj = new \StdClass();
|
|
$response_obj = new \StdClass();
|
|
$response_obj->code = 200;
|
|
$response_obj->code = 200;
|
|
@@ -65,9 +65,11 @@ class DirectlyIdentify extends AdminController{
|
|
|
|
|
|
$id = Db::table("new_talent_zhiren")->insertGetId($zhiren_data);
|
|
$id = Db::table("new_talent_zhiren")->insertGetId($zhiren_data);
|
|
|
|
|
|
- //queue("app\job\Import", ["id" => $id,"type" => 2]);
|
|
|
|
|
|
+ queue("app\job\Import", ["id" => $id,"type" => 2]);
|
|
|
|
|
|
- $data = ["code" => 200, "msg" => "导入成功"];
|
|
|
|
- echo sprintf('<script>parent.DirectlyIdentify.callBack(%s);</script>', json_encode($data));
|
|
|
|
|
|
+ $response_obj = new \StdClass();
|
|
|
|
+ $response_obj->code = 200;
|
|
|
|
+ $response_obj->msg = '导入成功';
|
|
|
|
+ return \StrUtil::back($response_obj, "DirectlyIdentify.callBack");
|
|
}
|
|
}
|
|
}
|
|
}
|