39 lines
711 B
JavaScript
39 lines
711 B
JavaScript
import request from "@/utils/request";
|
|
|
|
export function startWechatMpBind() {
|
|
return request({
|
|
url: "/backend/wechatMp/bind/start",
|
|
method: "post",
|
|
});
|
|
}
|
|
|
|
export function getWechatMpBindStatus(scene) {
|
|
return request({
|
|
url: "/backend/wechatMp/bind/status",
|
|
method: "get",
|
|
params: { scene },
|
|
});
|
|
}
|
|
|
|
export function confirmWechatMpBind(data) {
|
|
return request({
|
|
url: "/backend/wechatMp/bind/confirm",
|
|
method: "post",
|
|
data,
|
|
});
|
|
}
|
|
|
|
export function getMyWechatMpBinding() {
|
|
return request({
|
|
url: "/backend/wechatMp/my",
|
|
method: "get",
|
|
});
|
|
}
|
|
|
|
export function unbindWechatMp() {
|
|
return request({
|
|
url: "/backend/wechatMp/unbind",
|
|
method: "post",
|
|
});
|
|
}
|