shish 6 tahun lalu
induk
melakukan
7b9d186eb0
1 mengubah file dengan 2 tambahan dan 6 penghapusan
  1. 2 6
      console/controllers/InitController.php

+ 2 - 6
console/controllers/InitController.php

@@ -28,14 +28,10 @@ class InitController extends Controller
 		//初始化微信菜单
 		//模板消息
 	}
-	
+
 	//二次初始化 shish 2020.1.19
-	public function actionSecondInit()
+	public function actionSecondInit($id=0)
 	{
-		$id = Yii::$app->request->get('id');
-		if (empty($id)) {
-			echo "商家ID无效\n";
-		}
 		$merchant = xhMerchantService::getById($id);
 		if (empty($merchant)) {
 			echo "商家无效\n";