-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Fix WeChat League API URL patterns to resolve error 48001 #3651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: binarywang <[email protected]>
Co-authored-by: binarywang <[email protected]>
String GET_SUPPLIER_BALANCE_URL = "https://api.weixin.qq.com/channels/ec/league/headsupplier/funds/balance/get"; | ||
/** 获取资金流水详情 */ | ||
String GET_SUPPLIER_BALANCE_FLOW_DETAIL_URL = "https://api.weixin.qq.com/channels/ec/league/headsupplier/funds/flowdetail/get"; | ||
String GET_SUPPLIER_BALANCE_FLOW_DETAIL_URL = "https://api.weixin.qq.com/channels/ec/league/headsupplier/funds/flow/detail/get"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String GET_SUPPLIER_BALANCE_FLOW_DETAIL_URL = "https://api.weixin.qq.com/channels/ec/league/headsupplier/funds/flow/detail/get"; | ||
/** 获取资金流水列表 */ | ||
String GET_SUPPLIER_BALANCE_FLOW_LIST_URL = "https://api.weixin.qq.com/channels/ec/league/headsupplier/funds/flowlist/get"; | ||
String GET_SUPPLIER_BALANCE_FLOW_LIST_URL = "https://api.weixin.qq.com/channels/ec/league/headsupplier/funds/flow/list/get"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String REMOVE_SUPPLIER_GOODS_URL = "https://api.weixin.qq.com/channels/ec/league/headsupplier/window/remove"; | ||
/** 查询橱窗上团长商品详情 */ | ||
String GET_SUPPLIER_GOODS_URL = "https://api.weixin.qq.com/channels/ec/league/headsupplier/window/getdetail"; | ||
String GET_SUPPLIER_GOODS_URL = "https://api.weixin.qq.com/channels/ec/league/headsupplier/window/get"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String ADD_SUPPLIER_GOODS_URL = "https://api.weixin.qq.com/channels/ec/league/headsupplier/window/add"; | ||
/** 查询橱窗上团长商品列表 */ | ||
String LIST_SUPPLIER_GOODS_URL = "https://api.weixin.qq.com/channels/ec/league/headsupplier/window/getall"; | ||
String LIST_SUPPLIER_GOODS_URL = "https://api.weixin.qq.com/channels/ec/league/headsupplier/window/list/get"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
完全是没有理由的乱改,关闭 |
This PR fixes incorrect URL patterns in the WeChat Channel League API that were causing error 48001 ("没有该接口权限" - no interface permission) for users.
Problem
Users reported that some League API interfaces were returning error code 48001, while
GET_SUPPLIER_ORDER_LIST_URL
worked correctly. Analysis revealed that several URLs were using inconsistent patterns compared to the official WeChat API specification.Root Cause
The working URL follows this pattern:
But other URLs were using deprecated or incorrect patterns like
/getall
,/getdetail
, and/flowdetail/get
.Changes Made
Window-related URLs
Flow-related URLs
Pattern Consistency Rules Applied
/list/get
/get
(not/getdetail
or/getall
)Validation
This should resolve the 48001 error for the affected League API endpoints.
Fixes #3630.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.