正在显示
4 个修改的文件
包含
4 行增加
和
4 行删除
@@ -57,7 +57,7 @@ class Cancel extends Backend | @@ -57,7 +57,7 @@ class Cancel extends Backend | ||
57 | ->paginate($limit); | 57 | ->paginate($limit); |
58 | 58 | ||
59 | foreach ($list as $row) { | 59 | foreach ($list as $row) { |
60 | - $row->visible(['id','createtime']); | 60 | + $row->visible(['id','createtime','verification_store_id']); |
61 | $row->visible(['store']); | 61 | $row->visible(['store']); |
62 | $row->getRelation('store')->visible(['name']); | 62 | $row->getRelation('store')->visible(['name']); |
63 | $row->visible(['staff']); | 63 | $row->visible(['staff']); |
@@ -57,7 +57,7 @@ class Order extends Backend | @@ -57,7 +57,7 @@ class Order extends Backend | ||
57 | ->paginate($limit); | 57 | ->paginate($limit); |
58 | 58 | ||
59 | foreach ($list as $row) { | 59 | foreach ($list as $row) { |
60 | - $row->visible(['id','order_no','createtime','type','paytime','refundtime','name','phone']); | 60 | + $row->visible(['id','order_no','verification_store_id','createtime','type','paytime','refundtime','name','phone']); |
61 | $row->visible(['store']); | 61 | $row->visible(['store']); |
62 | $row->getRelation('store')->visible(['name']); | 62 | $row->getRelation('store')->visible(['name']); |
63 | $row->visible(['coupon']); | 63 | $row->visible(['coupon']); |
@@ -57,7 +57,7 @@ class Receive extends Backend | @@ -57,7 +57,7 @@ class Receive extends Backend | ||
57 | ->paginate($limit); | 57 | ->paginate($limit); |
58 | 58 | ||
59 | foreach ($list as $row) { | 59 | foreach ($list as $row) { |
60 | - $row->visible(['id','type','closetime','receive_no','qr_code','createtime']); | 60 | + $row->visible(['id','type','verification_store_id','closetime','receive_no','qr_code','createtime']); |
61 | $row->visible(['store']); | 61 | $row->visible(['store']); |
62 | $row->getRelation('store')->visible(['name']); | 62 | $row->getRelation('store')->visible(['name']); |
63 | $row->visible(['coupon']); | 63 | $row->visible(['coupon']); |
@@ -24,7 +24,7 @@ class Business extends Api | @@ -24,7 +24,7 @@ class Business extends Api | ||
24 | $postParam = $this->request->param(); | 24 | $postParam = $this->request->param(); |
25 | $this->postParam = $postParam; | 25 | $this->postParam = $postParam; |
26 | parent::_initialize(); | 26 | parent::_initialize(); |
27 | - $this->auth->id=3 ;//测试用 | 27 | + //$this->auth->id=3 ;//测试用 |
28 | $postParam = $this->request->param(); | 28 | $postParam = $this->request->param(); |
29 | $this->postParam = $postParam; | 29 | $this->postParam = $postParam; |
30 | if (empty($postParam['store_id'])) { | 30 | if (empty($postParam['store_id'])) { |
-
请 注册 或 登录 后发表评论