|
@@ -1232,9 +1232,18 @@ class Dhorder
|
|
|
|
|
|
public function out_member_goods_api(){
|
|
|
$status = Dever::input('search_option_status');
|
|
|
+ $type = Dever::input('search_option_type');
|
|
|
+ $name = Dever::input('search_option_name');
|
|
|
$where = array();
|
|
|
$where['state'] = 1;
|
|
|
$where['status'] = $status;
|
|
|
+ if ($type) {
|
|
|
+ $where['type'] = $type;
|
|
|
+ }
|
|
|
+ if ($name) {
|
|
|
+ $where['name'] = $name;
|
|
|
+ }
|
|
|
+
|
|
|
$data = Dever::db('agent/member_goods')->getExcelAll($where);
|
|
|
$header = array('权益名称', '会员等级', '姓名', '手机号', '获取方式', '获取时间');
|
|
|
$body = array();
|