Skip to content

Commit

Permalink
修改 readme 中支付金额单位,支付宝单位为元,微信为分。和官方同步
Browse files Browse the repository at this point in the history
  • Loading branch information
yansongda committed Sep 4, 2017
1 parent d5f1984 commit cde49b6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class PayController extends Controller
{
$config_biz = [
'out_trade_no' => 'e2',
'total_fee' => '0.01',
'total_fee' => '1', // **单位:分**
'body' => 'test body',
'spbill_create_ip' => '8.8.8.8',
'openid' => 'onkVf1FjWS5SBIihS-123456_abc',
Expand Down Expand Up @@ -244,7 +244,7 @@ $config = [
];
$config_biz = [
'out_trade_no' => '12', // 订单号
'total_amount' => '13', // 订单金额,单位:元
'total_amount' => '13', // 订单金额,单位:元,**微信支付,单位:分**
'subject' => 'test subject', // 订单商品标题
];
```
Expand Down Expand Up @@ -441,7 +441,7 @@ $config = [

$config_biz = [
'out_trade_no' => '', // 订单号
'total_fee' => '', // 订单金额,单位:
'total_fee' => '', // 订单金额,**单位:分**
'body' => '', // 订单描述
'spbill_create_ip' => '', // 支付人的 IP
'openid' => '', // 支付人的 openID
Expand All @@ -466,7 +466,7 @@ $config = [

$config_biz = [
'out_trade_no' => '', // 订单号
'total_fee' => '', // 订单金额,单位:
'total_fee' => '', // 订单金额,**单位:分**
'body' => '', // 订单描述
'spbill_create_ip' => '', // 支付人的 IP
'openid' => '', // 支付人的 openID
Expand Down Expand Up @@ -564,7 +564,7 @@ $config = [

$config_biz = [
'out_trade_no' => '', // 订单号
'total_fee' => '', // 订单金额,单位:
'total_fee' => '', // 订单金额,**单位:分**
'body' => '', // 订单描述
'spbill_create_ip' => '', // 支付人的 IP
'openid' => '', // 支付人的 openID
Expand Down Expand Up @@ -599,7 +599,7 @@ $config = [

$config_biz = [
'out_trade_no' => '', // 订单号
'total_fee' => '', // 订单金额,单位:
'total_fee' => '', // 订单金额,**单位:分**
'body' => '', // 订单描述
'spbill_create_ip' => '', // 支付人的 IP
];
Expand Down Expand Up @@ -634,7 +634,7 @@ $config = [

$config_biz = [
'out_trade_no' => '', // 订单号
'total_fee' => '', // 订单金额,单位:
'total_fee' => '', // 订单金额,**单位:分**
'body' => '', // 订单描述
'spbill_create_ip' => '', // 调用 API 服务器的 IP
'product_id' => '', // 订单商品 ID
Expand Down Expand Up @@ -667,7 +667,7 @@ $config = [

$config_biz = [
'out_trade_no' => '', // 订单号
'total_fee' => '', // 订单金额,单位:
'total_fee' => '', // 订单金额,**单位:分**
'body' => '', // 订单描述
'spbill_create_ip' => '', // 支付人的 IP
'auth_code' => '', // 授权码
Expand Down Expand Up @@ -701,7 +701,7 @@ $config = [

$config_biz = [
'out_trade_no' => '', // 订单号
'total_fee' => '', // 订单金额,单位:
'total_fee' => '', // 订单金额,**单位:分**
'body' => '', // 订单描述
'spbill_create_ip' => '', // 支付人的 IP
];
Expand Down

0 comments on commit cde49b6

Please sign in to comment.