This commit is contained in:
aozhiwei 2024-08-08 11:24:58 +08:00
parent 41c1c90d47
commit facdb30daa
2 changed files with 2 additions and 2 deletions

View File

@ -888,7 +888,7 @@ class BaseAuthedController extends BaseController {
*/ */
public function _addTgLog($eventName, $prop) public function _addTgLog($eventName, $prop)
{ {
myself()->_callServiceStatic('LogService', 'addLog', $eventName, $prop); myself()->_callServiceStatic('LogService', 'addTgLog', $eventName, $prop);
} }
} }

View File

@ -34,7 +34,7 @@ class LogService extends BaseService
const GOLD_TYPE = 0; const GOLD_TYPE = 0;
const DIAMOND_TYPE = 1; const DIAMOND_TYPE = 1;
public static function addLog($eventName, $prop){ public static function addTgLog($eventName, $prop){
$data = [ $data = [
"#account_id" => myself()->_getAccountId(), "#account_id" => myself()->_getAccountId(),
"#event_name"=> $eventName, "#event_name"=> $eventName,