作者 郭文星

'123'

... ... @@ -431,15 +431,15 @@ class Client extends Base
$where['user_id'] = $user_id;
$where['verification_store_id'] = $param['store_id'];
$where['coupon_type'] = 1;
$w['type'] = 0;
$where['type'] = 0;
$time = time();
$isuser=0;
$onuser=0;
$overuser=0;
$isuser = Db::name('verification_receive')->where($where)->count();
$w['type'] = 1;
$where['type'] = 1;
$onuser=Db::name('verification_receive')->where($where)->count();
$w['type'] = 2;
$where['type'] = 2;
$overuser=Db::name('verification_receive')->where($where)->count();
if ($data){
$data=$data->toArray();
... ...