@@ -46,8 +46,8 @@ class TestController extends BaseController
// ./yii test/rabbit 0
public function actionRabbit()
{
- global $argv;
- $id = $argv[2] ?? 0;
+ $get = Yii::$app->request->get();
+ $id = $get['id'] ?? 0;
$event = '跑腿已经取消';
if ($id == 0) {
$orderId = 5231;