fixed
This commit is contained in:
@@ -27,7 +27,7 @@ class Score extends HD_Controller
|
||||
} else {
|
||||
$page = $redis->get($pageCacheKey) ?: 1;
|
||||
}
|
||||
$size = 100;
|
||||
$size = 20;
|
||||
$groups_string = implode(',', [App_licheb_users_model::GROUP_BIZ, App_licheb_users_model::GROUP_MANAGER]);
|
||||
$where = [
|
||||
"group_id in ({$groups_string})" => null,
|
||||
|
||||
@@ -42,6 +42,9 @@ class Score_entity
|
||||
{
|
||||
switch ($type) {
|
||||
case Receiver_score_config_model::TYPE_BASE: //基础分
|
||||
if ($sub_type == Receiver_score_config_model::TYPE_BASE_DEFAULT) {
|
||||
Receiver_score_log_model::add_score($uid, $biz_id, $day, $type, $sub_type, '默认分', 1);
|
||||
}
|
||||
if ($sub_type == Receiver_score_config_model::TYPE_BASE_KG) {
|
||||
Receiver_score_log_model::add_score($uid, $biz_id, $day, $type, $sub_type, '接口请求默认值', 1, 0, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user