UNPKG

coa-wx-isv

Version:

一个轻量的微信SDK服务商版 for Node.js

16 lines (15 loc) 771 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WxIsvBasicService = void 0; const WxIsvTokenService_1 = require("./WxIsvTokenService"); class WxIsvBasicService extends WxIsvTokenService_1.WxIsvTokenService { // 设置订单页 path 信息 async applySetOrderPathInfo(accessToken, batchReq) { return (await this.request('POST', '/wxa/security/applysetorderpathinfo', { batch_req: batchReq }, { component_access_token: await this.getToken() })); } // 获取订单页 path 信息 async getOrderPathInfo(accessToken, info_type) { return (await this.request('POST', '/wxa/security/getorderpathinfo', { info_type }, { access_token: accessToken })); } } exports.WxIsvBasicService = WxIsvBasicService;