You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zhishifufei_uniapp/api/public.js

28 lines
655 B

10 months ago
import http from "@/utils/request";
export function getAddress() {
return http.get("/js/city.js", null, {
moduleName: "static",
plain: true
});
}
export function getSupportData() {
return http.get("/public_api/public_data");
}
export function initLiveLogin(id) {
return http.get("/live/init_login", { id }, {
requireAuth: true
});
}
export function getWechatConfig() {
return http.get("/live/init_login", { id }, {
requireAuth: true
});
}
export function getSiteServicePhone(mer_id) {
return http.get("/public_api/get_site_service_phone", { mer_id }, {
requireAuth: true
});
}