Files
yuxingu-Miniprogram-dev/util/apiUrl.js
T
jackyu66gitandCursor b09d82df8d feat: 小程序统一走 Go 后台,咨询与登录切到 /api/v1
去掉协会 WebView 和魔方账密页,微信登录与咨询接口共用同一 token 和拦截器。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 00:26:28 +08:00

49 lines
1.9 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// 统一打 Go /api/v1ECR-050 咨询域已原生,不再反代 Java)
let urls = {
upload: `/api/v1/upload`,
newPageUrl: `/api/v1/psychic/news/page`,
newDetailUrl: `/api/v1/psychic/news/get`,
loginUrl: `/api/v1/auth/wechat`,
getBanner: `/api/v1/psychic/banner/all`,
psychicSave: `/api/v1/psychic/save`,
getPsychicListTest: `/api/v1/psychic/study/list`,
getSingleDetail: `/api/v1/psychic/study/getSingleDetail`,
userChoiceSave: `/api/v1/psychic/user-choice/save`,
getResult: `/api/v1/psychic/user-choice/getResult`,
myTest: `/api/v1/psychic/user-choice/my-test`,
businessScopeList: `/api/v1/psychic/doctor-info/business-scope-list`,
getDoctorInfo: `/api/v1/psychic/doctor-info/get`,
doctorInfopage: `/api/v1/psychic/doctor-info/page`,
focus: `/api/v1/psychic/doctor-info/focus`,
cancelFocus: `/api/v1/psychic/doctor-info/cancel-focus`,
appointTotalList: `/api/v1/psychic/appointment/remain-list`,
dateDetailList: `/api/v1/psychic/appointment/date-detail-list`,
getShowInfo: `/api/v1/psychic/doctor-info/get-show-info`,
createOrder: `/api/v1/psychic/pay/createOrder`,
refund: `/api/v1/psychic/pay/refund`,
getSelfInfo: `/api/v1/psychic/platform-user/getSelfInfo`,
updateUserInfo: `/api/v1/psychic/platform-user/update`,
notReadNum: `/api/v1/psychic/platform-user/not-read-num`,
focusToRead: `/api/v1/psychic/platform-user/focus-to-read`,
orderToRead: `/api/v1/psychic/platform-user/order-to-read`,
userFeedback: `/api/v1/psychic/platform-user/user-feedback`,
feedbackFlag: `/api/v1/psychic/platform-user/feedback-flag`,
focusAll: `/api/v1/psychic/platform-user/focus-all`,
getByCode: `/api/v1/psychic/procotol/getByCode`,
createZxOrder: `/api/v1/psychic/order/create`,
orderList: `/api/v1/psychic/order/order-list`,
orderDetail: `/api/v1/psychic/order/order-detail`,
getPayParam: `/api/v1/psychic/order/get-pay-param`,
cancelOrder: `/api/v1/psychic/order/cancel`,
deleteOrder: `/api/v1/psychic/order/delete-order`,
}
export {
urls
}