正则匹配有个问题,铁子
sdz123 opened this issue · 2 comments
sdz123 commented
比如下面这串代码:
wxpay.v3.transfer.batches.outBatchNo['1234567899900011'].details.outDetailNo['x16683940311151111X'].get();
后面的outDetailNo参数最后一位X会被正则处理成 ‘-x’;
TheNorthMemory commented
segments
受如下处理过程约束:
wechatpay-axios-plugin/lib/wechatpay.js
Lines 60 to 73 in e6a2cc1
你的代码需要微调成:
wxpay.v3.transfer.batches.outBatchNo.$out_batch_no$.details.outDetailNo._out_detail_no_.get({
out_batch_no: '1234567899900011',
out_detail_no: 'x16683940311151111X',
})
sdz123 commented
segments
受如下处理过程约束:wechatpay-axios-plugin/lib/wechatpay.js
Lines 60 to 73 in e6a2cc1
你的代码需要微调成:
wxpay.v3.transfer.batches.outBatchNo.$out_batch_no$.details.outDetailNo._out_detail_no_.get({ out_batch_no: '1234567899900011', out_detail_no: 'x16683940311151111X', })
感谢您的回复!