|
@@ -20,7 +20,7 @@ class My extends Core
|
|
|
|
|
|
$this->data['coupon_num'] = Dever::db('shop/user_coupon')->total(array('uid' => $this->uid, 'status' => 1));
|
|
|
|
|
|
- $this->data['card_num'] = Dever::db('card/code')->total(array('uid' => $this->uid));
|
|
|
+ $this->data['card_num'] = Dever::db('card/code')->total(array('dh_uid' => $this->uid));
|
|
|
|
|
|
$this->data['score'] = Dever::load('score/lib/core')->getUserScore($this->uid);
|
|
|
|