17 lines
340 B
JavaScript
17 lines
340 B
JavaScript
import request from "@/utils/request";
|
|
// import wechath5 from "@/utils/wechath5";
|
|
import { client } from "@/utils/tools";
|
|
|
|
export function getConfig() {
|
|
return request.get("index/config");
|
|
}
|
|
|
|
// 用户自定义分享
|
|
export function userShare(params) {
|
|
return request.get("index/share", {
|
|
params: {
|
|
...params,
|
|
client,
|
|
},
|
|
});
|
|
} |