...
|
...
|
@@ -2,7 +2,7 @@ |
|
|
* @Author: Targaryen
|
|
|
* @Date: 2017-01-03 17:42:41
|
|
|
* @Last Modified by: Targaryen
|
|
|
* @Last Modified time: 2017-03-01 16:38:39
|
|
|
* @Last Modified time: 2017-04-20 21:01:44
|
|
|
*/
|
|
|
|
|
|
'use strict';
|
...
|
...
|
@@ -107,7 +107,7 @@ const tools = { |
|
|
nonce_str: common.nonceStr(),
|
|
|
body: '有货订单号:' + params.orderCode,
|
|
|
out_trade_no: 'YOHOBuy_' + params.orderCode,
|
|
|
total_fee: params.totalFee * 100,
|
|
|
total_fee: _.parseInt(params.totalFee * 100),
|
|
|
trade_type: 'JSAPI',
|
|
|
time_start: moment().format('YYYYMMDDHHmmss'),
|
|
|
time_expire: moment().add(2, 'hours').format('YYYYMMDDHHmmss'),
|
...
|
...
|
|