作者 郭文星

'123'

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