|
@@ -162,8 +162,8 @@ class PayService extends CrudService {
|
|
|
* @param {Object} data 数据
|
|
|
*/
|
|
|
async create(data) {
|
|
|
- const { money, openid, order_no, desc } = data;
|
|
|
- const wxOrderData = { config: this.appConfig, money, openid, order_no, desc };
|
|
|
+ const { money, openid, order_no, desc, notice_url } = data;
|
|
|
+ const wxOrderData = { config: this.appConfig, money, openid, order_no, desc, notice_url };
|
|
|
const url = `${this.wxDomain}/pay/payOrder`;
|
|
|
const res = await this.httpUtil.cpost(url, wxOrderData);
|
|
|
if (res) return res;
|