|
@@ -579,7 +579,13 @@ class Cron
|
|
|
|
|
|
foreach ($member as $k1 => $v1) {
|
|
|
$vinfo = Dever::db('agent/member')->select(array('parent_mid' => $v1['mid'], 'role' => 8));
|
|
|
- //$vinfo = Dever::db('agent/order')->select(array('parent_mid' => $v1['mid'], 'role' => 8));
|
|
|
+
|
|
|
+ $vinfo1 = Dever::db('agent/order')->select(array('parent_mid' => $v1['mid'], 'role' => 8));
|
|
|
+ if ($v['id'] == 19) {
|
|
|
+ print_r($vinfo);
|
|
|
+ print_r($vinfo1);die;
|
|
|
+ }
|
|
|
+
|
|
|
if ($vinfo) {
|
|
|
foreach ($vinfo as $v2) {
|
|
|
if ($v2['prize_type'] == 1) {
|