|
@@ -33,7 +33,7 @@ class UserBank extends Model
|
|
{
|
|
{
|
|
$user = User::info();
|
|
$user = User::info();
|
|
$bank = null;
|
|
$bank = null;
|
|
- if ($type == 'wechat' && false) {
|
|
|
|
|
|
+ if ($type == 'wechat') {
|
|
$platform = request()->header('platform');
|
|
$platform = request()->header('platform');
|
|
$userOauth = \addons\shopro\model\UserOauth::get([
|
|
$userOauth = \addons\shopro\model\UserOauth::get([
|
|
'user_id' => $user->id,
|
|
'user_id' => $user->id,
|