diff --git a/webapp/controller/BaseAuthedController.class.php b/webapp/controller/BaseAuthedController.class.php index ffbb22f5..06f00e5f 100644 --- a/webapp/controller/BaseAuthedController.class.php +++ b/webapp/controller/BaseAuthedController.class.php @@ -881,4 +881,13 @@ class BaseAuthedController extends BaseController { return myself()->_internalCallModuleStatic('events', $moduleName, $eventName, ...$args); } + /* + 添加通用日志埋点 + $prop必须是array对象(不是数组{}) + */ + public function _addTgLog($eventName, $prop) + { + myself()->_callServiceStatic('LogService', 'addLog', $eventName, $prop); + } + }