作者 郭文星

'123'

... ... @@ -57,7 +57,7 @@ class Cancel extends Backend
->paginate($limit);
foreach ($list as $row) {
$row->visible(['id','createtime']);
$row->visible(['id','createtime','verification_store_id']);
$row->visible(['store']);
$row->getRelation('store')->visible(['name']);
$row->visible(['staff']);
... ...
... ... @@ -57,7 +57,7 @@ class Order extends Backend
->paginate($limit);
foreach ($list as $row) {
$row->visible(['id','order_no','createtime','type','paytime','refundtime','name','phone']);
$row->visible(['id','order_no','verification_store_id','createtime','type','paytime','refundtime','name','phone']);
$row->visible(['store']);
$row->getRelation('store')->visible(['name']);
$row->visible(['coupon']);
... ...
... ... @@ -57,7 +57,7 @@ class Receive extends Backend
->paginate($limit);
foreach ($list as $row) {
$row->visible(['id','type','closetime','receive_no','qr_code','createtime']);
$row->visible(['id','type','verification_store_id','closetime','receive_no','qr_code','createtime']);
$row->visible(['store']);
$row->getRelation('store')->visible(['name']);
$row->visible(['coupon']);
... ...
... ... @@ -24,7 +24,7 @@ class Business extends Api
$postParam = $this->request->param();
$this->postParam = $postParam;
parent::_initialize();
$this->auth->id=3 ;//测试用
//$this->auth->id=3 ;//测试用
$postParam = $this->request->param();
$this->postParam = $postParam;
if (empty($postParam['store_id'])) {
... ...