收藏
回答

文档bug

https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/short-link/shortlink.generate.html

文档中示例代码错误;

示例

请求

{
    "page_url": "/pages/publishHomework/publishHomework?query1=q1",
    "page_title": "Homework title", 
    "is_permanent":false
}



实际情况下,page_url前面是不能有斜杠的,即如下才行:

示例

请求

{
    "page_url": "pages/publishHomework/publishHomework?query1=q1",
    "page_title": "Homework title", 
    "is_permanent":false
}


回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容