更新
This commit is contained in:
parent
d004a8ad16
commit
1b2aed7a4f
@ -673,6 +673,10 @@ class UserRepository extends BaseRepository
|
||||
];
|
||||
if($code){
|
||||
$data['promotion_code']=$code;
|
||||
$shop=explode('shop_',$code);
|
||||
if(count($shop)==2){
|
||||
$data['spread_uid']=$shop[1];
|
||||
}
|
||||
Cache::delete('promote_'.$ip);
|
||||
}
|
||||
return $this->create($user_type, $data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user