Record.php 573 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace app\shop\controller\distribution;
  3. use app\shop\logic\distribution\RecordLogic;
  4. use app\common\basics\ShopBase;
  5. use app\common\server\JsonServer;
  6. use app\common\utils\Time;
  7. class Record extends ShopBase
  8. {
  9. public function lists()
  10. {
  11. if($this->request->isAjax()) {
  12. $get = $this->request->get();
  13. $get['shop_id'] = $this->shop_id;
  14. $data = RecordLogic::lists($get);
  15. return JsonServer::success('', $data);
  16. }
  17. return view('', [
  18. 'time' => Time::getTime()
  19. ]);
  20. }
  21. }