Commit dc826101 by 冷斌

update

parent 680334d3
...@@ -55,6 +55,9 @@ class PromotersController extends AdminbaseController{ ...@@ -55,6 +55,9 @@ class PromotersController extends AdminbaseController{
foreach($users as $k=>$v){ foreach($users as $k=>$v){
$path=setpath($v['id']); $path=setpath($v['id']);
$uids=$Proxy->where("type = 0 and path like '%{$path}%'")->getField('uid',true); $uids=$Proxy->where("type = 0 and path like '%{$path}%'")->getField('uid',true);
var_dump($path, $uids);
die;
if(!$uids){ if(!$uids){
$uids=[]; $uids=[];
array_push($uids,'0'); array_push($uids,'0');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment