Authored by 郭成尧

string

@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 * @Author: Targaryen 2 * @Author: Targaryen
3 * @Date: 2017-01-03 17:42:41 3 * @Date: 2017-01-03 17:42:41
4 * @Last Modified by: Targaryen 4 * @Last Modified by: Targaryen
5 - * @Last Modified time: 2017-03-01 16:22:20 5 + * @Last Modified time: 2017-03-01 16:38:39
6 */ 6 */
7 7
8 'use strict'; 8 'use strict';
@@ -179,7 +179,7 @@ const Wechat = { @@ -179,7 +179,7 @@ const Wechat = {
179 179
180 let resParams = { 180 let resParams = {
181 appId: unifiedOrderResult.appid, 181 appId: unifiedOrderResult.appid,
182 - timeStamp: parseInt(Date.parse(new Date()) / 1000, 10), 182 + timeStamp: parseInt(Date.parse(new Date()) / 1000, 10) + '',
183 nonceStr: nonceStr, 183 nonceStr: nonceStr,
184 package: 'prepay_id=' + unifiedOrderResult.prepay_id, 184 package: 'prepay_id=' + unifiedOrderResult.prepay_id,
185 signType: 'MD5', 185 signType: 'MD5',