|
|
@@ -415,15 +415,16 @@ class WxOpenController extends PublicController
|
|
|
|
|
|
public function actionApi()
|
|
|
{
|
|
|
+ $get = Yii::$app->request->get();
|
|
|
+ Yii::info('参数:'.json_encode($get));
|
|
|
+
|
|
|
$openData = file_get_contents('php://input');
|
|
|
if (isset ($openData) == false || empty($openData)) {
|
|
|
util::stop('has no post data');
|
|
|
}
|
|
|
$wxSecret = Yii::getAlias("@vendor/weixinSecret");
|
|
|
require_once($wxSecret . '/wxBizMsgCrypt.php');
|
|
|
- $get = Yii::$app->request->get();
|
|
|
|
|
|
- Yii::info('参数:'.json_encode($get));
|
|
|
|
|
|
$encryptMsg = $openData;
|
|
|
$openId = configDict::getConfig('openId');
|