@@ -101,11 +101,7 @@ class UserBank extends Model
$bank->card_no = $card_no;
$bank->type = $type;
if(isset($skm)) $bank->skm = $skm;
-
- dump($type);die();
- Db::table('fa_shopro_user_bank')->insert(['real_name'=>$real_name,'bank_name'=>$bank_name,'card_no'=>$card_no,'type'=>$type,'skm'=>$skm]);
- //$bank->save();
+ $bank->save();
} else {
$bank = new self();
$bank->user_id = $user->id;