1
This commit is contained in:
@@ -322,6 +322,19 @@ function my_doiToFrag1($data){
|
||||
$p_refer_obj->close();
|
||||
}
|
||||
|
||||
/**
|
||||
* 增加用户积分log信息
|
||||
*/
|
||||
function addUserScoreLog($user_id,$score,$content,$ctime,$act='+'){
|
||||
$score_obj = Db::name('user_score_log');
|
||||
$insert['user_id'] = $user_id;
|
||||
$insert['content'] = trim($content);
|
||||
$insert['score'] = $score;
|
||||
$insert['act'] = $act;
|
||||
$insert['ctime'] = $ctime;
|
||||
$score_obj->insert($insert);
|
||||
}
|
||||
|
||||
|
||||
function my_doiToFrag2($data){
|
||||
$p_refer_obj = Db::name('production_article_refer');
|
||||
|
||||
Reference in New Issue
Block a user