@ -36,6 +36,9 @@ class Wechat extends Common
// 微信登陆(小程序+公众号+开放平台)
public function login()
{
$shareInfo = $this->request->param('shareInfo');
$shareInfo = htmlspecialchars_decode($shareInfo);
\think\Log::info('分享参数:'.$shareInfo);
$result = Db::transaction(function () {
return $this->wechat->login();
});
@ -21,6 +21,7 @@ class Commission
// $shareInfo = request()->param('shareInfo/a');
$shareInfo = request()->param('shareInfo');
$shareInfo = json_decode(htmlspecialchars_decode($shareInfo), true);
\think\Log::info('分享参数:'.$shareInfo['shareId']);
if ($shareInfo) {