Files
yuxingu-Miniprogram-dev/util/apiUrl.js
T
2026-03-23 11:52:05 +08:00

52 lines
2.0 KiB
JavaScript

//统一设置API接口地址
let urls = {
// 七牛相关API
upload: `/admin-api/infra/file/upload`,
newPageUrl: `/app-api/psychic/news/page`,
newDetailUrl: `/app-api/psychic/news/get`,
loginUrl: `/app-api/oauth/app/login`,
getBanner: `/app-api/psychic/banner/all`,
psychicSave: `/app-api/psychic/save`,
getPsychicListTest: `/app-api/psychic/study/list`,
getSingleDetail: `/app-api/psychic/study/getSingleDetail`,
userChoiceSave: `/app-api/psychic/user-choice/save`,
getResult: `/app-api/psychic/user-choice/getResult`,
myTest: `/app-api/psychic/user-choice/my-test`,
businessScopeList: `/app-api/psychic/doctor-info/business-scope-list`,
getDoctorInfo: `/app-api/psychic/doctor-info/get`,
doctorInfopage: `/app-api/psychic/doctor-info/page`,
focus: `/app-api/psychic/doctor-info/focus`,
cancelFocus: `/app-api/psychic/doctor-info/cancel-focus`,
appointTotalList: `/app-api/psychic/appointment/remain-list`,
dateDetailList: `/app-api/psychic/appointment/date-detail-list`,
getShowInfo: `/app-api/psychic/doctor-info/get-show-info`,
createOrder: `/app-api/psychic/pay/createOrder`,
refund: `/app-api/psychic/pay/refund`,
getSelfInfo: `/app-api/psychic/platform-user/getSelfInfo`,
updateUserInfo: `/app-api/psychic/platform-user/update`,
notReadNum: `/app-api/psychic/platform-user/not-read-num`,
focusToRead: `/app-api/psychic/platform-user/focus-to-read`,
orderToRead: `/app-api/psychic/platform-user/order-to-read`,
userFeedback: `/app-api/psychic/platform-user/user-feedback`,
feedbackFlag: `/app-api/psychic/platform-user/feedback-flag`,
focusAll: `/app-api/psychic/platform-user/focus-all`,
getByCode: `/app-api/psychic/procotol/getByCode`,
// 订单
createZxOrder: `/app-api/psychic/order/create`,
orderList: `/app-api/psychic/order/order-list`,
orderDetail: `/app-api/psychic/order/order-detail`,
getPayParam: `/app-api/psychic/order/get-pay-param`,
cancelOrder: `/app-api/psychic/order/cancel`,
deleteOrder: `/app-api/psychic/order/delete-order`,
}
export {
urls
}