作者 郭文星

'123'

@@ -431,15 +431,15 @@ class Client extends Base @@ -431,15 +431,15 @@ class Client extends Base
431 $where['user_id'] = $user_id; 431 $where['user_id'] = $user_id;
432 $where['verification_store_id'] = $param['store_id']; 432 $where['verification_store_id'] = $param['store_id'];
433 $where['coupon_type'] = 1; 433 $where['coupon_type'] = 1;
434 - $w['type'] = 0; 434 + $where['type'] = 0;
435 $time = time(); 435 $time = time();
436 $isuser=0; 436 $isuser=0;
437 $onuser=0; 437 $onuser=0;
438 $overuser=0; 438 $overuser=0;
439 $isuser = Db::name('verification_receive')->where($where)->count(); 439 $isuser = Db::name('verification_receive')->where($where)->count();
440 - $w['type'] = 1; 440 + $where['type'] = 1;
441 $onuser=Db::name('verification_receive')->where($where)->count(); 441 $onuser=Db::name('verification_receive')->where($where)->count();
442 - $w['type'] = 2; 442 + $where['type'] = 2;
443 $overuser=Db::name('verification_receive')->where($where)->count(); 443 $overuser=Db::name('verification_receive')->where($where)->count();
444 if ($data){ 444 if ($data){
445 $data=$data->toArray(); 445 $data=$data->toArray();