@@ -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";