|
@@ -53,6 +53,18 @@ class Member extends EventsController {
|
|
$events_ids[$d['run_time_data']['events']['id']] = $d['run_time_data']['events']['id'];
|
|
$events_ids[$d['run_time_data']['events']['id']] = $d['run_time_data']['events']['id'];
|
|
|
|
|
|
if (in_array($d['run_time_data']['events']['type'], array(4,0))) {
|
|
if (in_array($d['run_time_data']['events']['type'], array(4,0))) {
|
|
|
|
+
|
|
|
|
+ $data[$key]['feedback'] = 2;//未填写反馈
|
|
|
|
+ $where = array();
|
|
|
|
+ $where['uid'] = $d['uid'];
|
|
|
|
+ $where['events_id'] = $d['run_time_data']['events']['id'];
|
|
|
|
+ $where['status'] = 1;
|
|
|
|
+
|
|
|
|
+ $ids = $objLotteryUserFeedback->findIdsBy ( $where, 1, $order = ' id desc');
|
|
|
|
+ if ($ids) {
|
|
|
|
+ $data[$key]['feedback'] = 3;//已填写反馈
|
|
|
|
+ }
|
|
|
|
+ /*
|
|
if (isset($d['express']) && $d['express']) {
|
|
if (isset($d['express']) && $d['express']) {
|
|
$data[$key]['feedback'] = 2;//未填写反馈
|
|
$data[$key]['feedback'] = 2;//未填写反馈
|
|
$where = array();
|
|
$where = array();
|
|
@@ -67,6 +79,7 @@ class Member extends EventsController {
|
|
} else {
|
|
} else {
|
|
$data[$key]['feedback'] = 4;//未填写收货地址
|
|
$data[$key]['feedback'] = 4;//未填写收货地址
|
|
}
|
|
}
|
|
|
|
+ */
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -151,7 +164,20 @@ class Member extends EventsController {
|
|
$data[$key]['feedback'] = 1;//不需要填写反馈
|
|
$data[$key]['feedback'] = 1;//不需要填写反馈
|
|
$events_ids[$d['run_time_data']['events']['id']] = $d['run_time_data']['events']['id'];
|
|
$events_ids[$d['run_time_data']['events']['id']] = $d['run_time_data']['events']['id'];
|
|
|
|
|
|
|
|
+
|
|
if (in_array($d['run_time_data']['events']['type'], array(4,0))) {
|
|
if (in_array($d['run_time_data']['events']['type'], array(4,0))) {
|
|
|
|
+ $data[$key]['feedback'] = 2;//未填写反馈
|
|
|
|
+ $where = array();
|
|
|
|
+ $where['uid'] = $d['uid'];
|
|
|
|
+ $where['events_id'] = $d['run_time_data']['events']['id'];
|
|
|
|
+ $where['status'] = 1;
|
|
|
|
+
|
|
|
|
+ $ids = $objLotteryUserFeedback->findIdsBy ( $where, 1, $order = ' id desc');
|
|
|
|
+ $info = $objLotteryUserFeedback->gets ( $ids );
|
|
|
|
+ if ($info) {
|
|
|
|
+ $data[$key]['feedback'] = 3;//已填写反馈
|
|
|
|
+ }
|
|
|
|
+ /*
|
|
if (isset($d['express']) && $d['express']) {
|
|
if (isset($d['express']) && $d['express']) {
|
|
$data[$key]['feedback'] = 2;//未填写反馈
|
|
$data[$key]['feedback'] = 2;//未填写反馈
|
|
$where = array();
|
|
$where = array();
|
|
@@ -167,6 +193,7 @@ class Member extends EventsController {
|
|
} else {
|
|
} else {
|
|
$data[$key]['feedback'] = 4;//未填写收货地址
|
|
$data[$key]['feedback'] = 4;//未填写收货地址
|
|
}
|
|
}
|
|
|
|
+ */
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|