Commit c68701c2 by 杨树贤

保存优化去除空格

parent 0eed4d03
......@@ -64,6 +64,7 @@ class SupplierReceiptApiController extends Controller
'nation_id',
//'international_code'
]);
$receipt = array_map('trim', $receipt);
$receipt['account_adderss'] = empty($receipt['account_adderss']) ? ' ' : $receipt['account_adderss'];
if ($receipt['receipt_type'] == 1) {
$receipt['swift_code'] = '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment