common.js
523 Bytes
import api from '../common/api';
export default {
/**
* 添加微信模版消息FormId
* @param params
* @returns {*}
*/
addWechatFormId(params) {
return api.get({
data: Object.assign({
method: 'wechat.formId.add'
}, params)
});
},
/**
* 通过AppId查绑定店铺
* @param params
* @returns {*}
*/
getBindShop(params) {
return api.get({
url: '',
data: Object.assign({
method: 'app.shops.union'
}, params)
});
}
};