mStoreID = 10; } public function testDown() { $vr_order = Model('vr_order'); $orders = $vr_order->getOrderList(['store_id' => $this->mStoreID,'order_state' => ORDER_STATE_PAY]); if(empty($orders)) { Log::record("没有新订单",Log::DEBUG); return; } $order_ids = []; foreach ($orders as $order) { $order_ids[] = $order['order_id']; } $refill_order = Model('refill_order'); // $refills = $refill_order->get } public function testUpSuccess() { } public function testUpFail() { } }