|
...
|
...
|
@@ -133,7 +133,7 @@ class Ticket5UploadDataController extends BaseController |
|
|
|
* @method :post
|
|
|
|
* @time :2025/11/10 11:01
|
|
|
|
*/
|
|
|
|
public function save()
|
|
|
|
public function save5Data()
|
|
|
|
{
|
|
|
|
$this->request->validate([
|
|
|
|
'post_id' => 'required',
|
|
...
|
...
|
@@ -184,9 +184,9 @@ class Ticket5UploadDataController extends BaseController |
|
|
|
public function pushTicketByBots($post_id,$type = 1)
|
|
|
|
{
|
|
|
|
$project = TicketProject::where('post_id', $post_id)->where('project_cate',$type)->where('is_del', 0)->first();
|
|
|
|
if (!$project){
|
|
|
|
return response()->json(['message' => '未找到对应的工单项目'], 404);
|
|
|
|
}
|
|
|
|
if ($project){
|
|
|
|
return $project->pushWechatGroupMsg("您好,用户已上传数据,请审核!");
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|