|
@@ -4,6 +4,7 @@ namespace App\Http\Logic\Bside\Setting; |
|
@@ -4,6 +4,7 @@ namespace App\Http\Logic\Bside\Setting; |
|
4
|
|
4
|
|
|
5
|
use App\Helper\Common as CommonHelper;
|
5
|
use App\Helper\Common as CommonHelper;
|
|
6
|
use App\Http\Logic\Bside\BaseLogic;
|
6
|
use App\Http\Logic\Bside\BaseLogic;
|
|
|
|
7
|
+use App\Models\UpdateNotify;
|
|
7
|
use App\Models\WebSetting\WebSetting;
|
8
|
use App\Models\WebSetting\WebSetting;
|
|
8
|
|
9
|
|
|
9
|
class WebSettingLogic extends BaseLogic
|
10
|
class WebSettingLogic extends BaseLogic
|
|
@@ -55,4 +56,16 @@ class WebSettingLogic extends BaseLogic |
|
@@ -55,4 +56,16 @@ class WebSettingLogic extends BaseLogic |
|
55
|
CommonHelper::del_user_cache($this->model->getTable(),$this->user['project_id']);
|
56
|
CommonHelper::del_user_cache($this->model->getTable(),$this->user['project_id']);
|
|
56
|
return $this->success();
|
57
|
return $this->success();
|
|
57
|
}
|
58
|
}
|
|
|
|
59
|
+
|
|
|
|
60
|
+ /**
|
|
|
|
61
|
+ * @remark :通知c端
|
|
|
|
62
|
+ * @name :sendNotifyMessage
|
|
|
|
63
|
+ * @author :lyh
|
|
|
|
64
|
+ * @method :post
|
|
|
|
65
|
+ * @time :2023/8/1 9:36
|
|
|
|
66
|
+ */
|
|
|
|
67
|
+ public function sendNotifyMessage(){
|
|
|
|
68
|
+ $urlStr = $this->user['domain'].'api/updateHtmlNotify?project_id='.$this->user['project_id'];
|
|
|
|
69
|
+ return http_get($urlStr);
|
|
|
|
70
|
+ }
|
|
58
|
} |
71
|
} |