|
@@ -94,6 +94,7 @@ class PayConfigController extends CatchController
|
|
|
$data = $request->only(['name', 'payee_name', 'pay_appid', 'pay_type', 'miniprogram_type']);
|
|
|
$now = date('Y-m-d H:i:s');
|
|
|
$data['created_at'] = $data['updated_at'] = $now;
|
|
|
+ $data['pay_common_params'] = \json_encode($request->input('pay_common_params', []));
|
|
|
$data['remark'] = $request->input('remark', '');
|
|
|
DB::table('pay_merchants')
|
|
|
->insert($data);
|