Skip to content

生产环境下取不到参数query为{},测试环境正常 #148

Open
@XinlinLiu

Description

@XinlinLiu

{
url: ${baseUrl}/v1/webapi/xx/xx/:id,
method: 'get',
response: ({ query }: { query: { id: string } }) => {
const { id } = query;
const details = list().find((it) => it.id === id);
return {
code: '0',
msg: 'SUCCESS',
data: details
};
}
}
生产环境取不到参数query为空

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions