作者 郭文星

'123'

@@ -460,7 +460,7 @@ class Wechat extends Api @@ -460,7 +460,7 @@ class Wechat extends Api
460 $w1['user_id'] = $pid; 460 $w1['user_id'] = $pid;
461 // $w1['verification_store_id'] = $verification_store_id; 461 // $w1['verification_store_id'] = $verification_store_id;
462 $role = Db::name('verification_staff')->where($w1)->find(); 462 $role = Db::name('verification_staff')->where($w1)->find();
463 - if(in_array($role['type'],['1','3'])){ 463 + if(in_array($role['type'],['1','3','0'])){
464 //属于代理 发送红包 464 //属于代理 发送红包
465 $this->grant_red_packets($pid,$order_id); 465 $this->grant_red_packets($pid,$order_id);
466 }else{ 466 }else{