|
|
@@ -54,11 +54,10 @@ class InitController extends Controller
|
|
|
{
|
|
|
echo 'ok';
|
|
|
}
|
|
|
-
|
|
|
- //接入一个商家需要的操作 shish 2019.9.7 yii init/join-one
|
|
|
- public function actionJoinOne()
|
|
|
+
|
|
|
+ //接入一个商家需要的操作 shish 2019.9.7 yii init/join-one 12358
|
|
|
+ public function actionJoinOne($id)
|
|
|
{
|
|
|
- $id = 12360;
|
|
|
//初始化微信菜单
|
|
|
$merchant = xhMerchantService::getById($id);
|
|
|
//xhWxMenuService::applyInit($merchant);
|
|
|
@@ -66,7 +65,7 @@ class InitController extends Controller
|
|
|
$r = xhTMessageService::supplement($merchant);
|
|
|
print_r($r);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
//yii init/sub
|
|
|
public function actionSub()
|
|
|
{
|