From 53ef5b14f986e3319618c514afe6953a77b05899 Mon Sep 17 00:00:00 2001 From: filesite Date: Sat, 13 Apr 2024 21:01:59 +0800 Subject: [PATCH] bug fix for task add --- themes/tajian/controller/FrontapiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/tajian/controller/FrontapiController.php b/themes/tajian/controller/FrontapiController.php index 35cc275..e648ec7 100644 --- a/themes/tajian/controller/FrontapiController.php +++ b/themes/tajian/controller/FrontapiController.php @@ -209,7 +209,7 @@ Class FrontApiController extends SiteController { $params['sign'] = $this->sign($params, $heroUnionConfig['token']); $api = $heroUnionConfig['server_url'] . '/api/newtask/'; - $res = this->request($api, $params); + $res = $this->request($api, $params); return !empty($res) && $res['status'] == 200 ? $res['result'] : false; }