This commit is contained in:
xiaoyu
2021-09-09 22:18:07 +08:00
parent c68ab8e52c
commit 18bc9c17f0
+1 -1
View File
@@ -206,7 +206,7 @@ class Bobing extends Wxapp
$credit = $re_c['credit'] ? $re_c['credit'] : 0;
$ranking = $this->mdBobingUserCredit->count(array_merge($where, array('credit>=' => $credit, 'uid<>' => $this->myuid))) + 1;//排名
$ranking > 100 && $ranking = '100名外';
$top_titles[] = array('title' => "今日博饼分:{$credit} | 今日排名:{$ranking}", 'url' => '');
$top_titles[] = array('title' => "今日幸运分:{$credit} | 今日排名:{$ranking}", 'url' => '');
$where = array('app_id' => $this->appConfig['app_id'], 'act_key' => $this->appConfig['act_key'], 'uid' => $this->myuid);
$re_u = $this->mdBobingUser->get($where);
$car_gold = $re_u['car_gold'] + $re_u['buy_car_gold'] + $re_u['lotter_gold'];