bobing
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user