ManyOrderController.php 968 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. namespace app\api\controller\many;
  3. use app\models\many\Many;
  4. use app\models\many\ManyGreen;
  5. use app\models\many\ManyOrder;
  6. use app\models\store\StoreOrder;
  7. use app\models\user\User;
  8. use app\models\user\UserBill;
  9. use app\Request;
  10. use crmeb\services\GroupDataService;
  11. use crmeb\services\QrcodeService;
  12. use crmeb\services\SystemConfigService;
  13. use crmeb\services\UtilService;
  14. use crmeb\services\upload\Upload;
  15. use think\facade\Db;
  16. /**
  17. * 账单类
  18. * Class UserBillController
  19. * @package app\api\controller\user
  20. */
  21. class ManyOrderController
  22. {
  23. /**
  24. * 众筹记录
  25. * @param Request $request
  26. * @return mixed
  27. */
  28. public function order(Request $request)
  29. {
  30. $where = UtilService::getMore([
  31. ['page', 1],
  32. ['limit', 10],
  33. ['status'],
  34. ]);
  35. $where['uid'] = $request->uid();
  36. $list = \app\models\many\ManyOrder::list($where);
  37. return app('json')->success($list);
  38. }
  39. }