|
@@ -122,12 +122,12 @@ class Plantask extends Controller
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+/*
|
|
|
//为上级做贡献,找到上级
|
|
|
$intro_uid = Db::name('user')->where('id',$order['user_id'])->value('intro_uid');
|
|
|
if(empty($intro_uid)){
|
|
|
echo '没有上级,结束';
|
|
|
- Db::name('unishop_order')->where('id',$order['id'])->update(['jiesuantime'=>time()]);
|
|
|
+ Db::name('unishop_order')->where('id',$order['id'])->update(['jiesuantime'=>$nowtime]);
|
|
|
Db::commit();
|
|
|
exit;
|
|
|
}
|
|
@@ -141,7 +141,7 @@ class Plantask extends Controller
|
|
|
$rule = $this->jiesuan_daili_level($yeji);
|
|
|
if($rule['bili'] == 0){
|
|
|
echo '达不到第一级,结束';
|
|
|
- Db::name('unishop_order')->where('id',$order['id'])->update(['jiesuantime'=>time()]);
|
|
|
+ Db::name('unishop_order')->where('id',$order['id'])->update(['jiesuantime'=>$nowtime]);
|
|
|
Db::commit();
|
|
|
exit;
|
|
|
}
|
|
@@ -165,6 +165,7 @@ class Plantask extends Controller
|
|
|
exit;
|
|
|
}
|
|
|
}
|
|
|
+*/
|
|
|
|
|
|
|
|
|
//标记为结算
|