Your Name 2 лет назад
Родитель
Сommit
18bb923c7d
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      service/agent/lib/Dhorder.php

+ 2 - 1
service/agent/lib/Dhorder.php

@@ -1215,7 +1215,7 @@ class Dhorder
     }
     #权益管理导出
     public function out_member_goods_api($data){
-        $header = array('权益名称', '会员等级', '姓名', '手机号', '剩余数量', '获取方式', '获取时间');
+        $header = array('权益名称', '会员等级', '姓名', '手机号', '剩余数量', '总数量', '获取方式', '获取时间');
         $body = array();
         foreach($data as $k => $v){
             $member = Dever::db('agent/member')->find(array('id'=>$v['mid']));
@@ -1227,6 +1227,7 @@ class Dhorder
                 $member['name'],
                 $member['mobile'],
                 $v['total_num']-$v['sell_num'],
+                $v['total_num'],
                 '',
                 date('Y-m-d H:i',$v['cdate']),