| xqd
@@ -1093,7 +1093,7 @@ class FurnitureController extends Controller
|
|
|
}
|
|
|
if (!$userinfo) {
|
|
|
$data['wechat_open_id'] = $openid;
|
|
|
- $data['wechat_union_id'] = $decryptedData['unionId'];
|
|
|
+ $data['wechat_union_id'] = $decryptedData['unionId'] ?? '';
|
|
|
$data['username'] = $request->get('nickName');
|
|
|
$data['avatar'] = $request->get('avatar');
|
|
|
$data['store_id'] = $request->get('store_id');
|