This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
yoshop-wechat/utils/extend/sharing.js

17 lines
246 B
JavaScript
Raw Normal View History

2020-04-25 23:04:41 +08:00
const App = getApp();
2020-04-25 22:59:04 +08:00
/**
* 拼团扩展类
*/
module.exports = {
/**
* 获取拼团设置
*/
getSetting(callback) {
App._get('sharing.setting/getAll', {}, function(result) {
callback(result.data.setting);
});
},
};