屏蔽贡献点产生

This commit is contained in:
aozhiwei 2024-09-22 13:56:25 +08:00
parent 9ef92b332b
commit 8762a3dc21

View File

@ -23,6 +23,7 @@ class Contribution extends BaseModel
} }
public static function add($point){ public static function add($point){
return;
SqlHelper::upsert( SqlHelper::upsert(
myself()->_getSelfMysql(), myself()->_getSelfMysql(),
't_contribution', 't_contribution',
@ -48,6 +49,7 @@ class Contribution extends BaseModel
} }
public static function addHistory($gold,$point,$controller,$action){ public static function addHistory($gold,$point,$controller,$action){
return;
SqlHelper::insert( SqlHelper::insert(
myself()->_getSelfMysql(), myself()->_getSelfMysql(),
't_contribution_history', 't_contribution_history',
@ -64,4 +66,4 @@ class Contribution extends BaseModel
} }
} }