This commit is contained in:
aozhiwei 2024-08-08 11:13:59 +08:00
parent 236f15b8ab
commit e8e33028f1

View File

@ -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);
}
}