初始化仓库
This commit is contained in:
17
api/app.js
Normal file
17
api/app.js
Normal file
@ -0,0 +1,17 @@
|
||||
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,
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user