Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center

# Conflicts:
#	ui/src/common/interface.ts
#	ui/src/services/client/question.ts
This commit is contained in:
LinkinStars 2023-04-24 14:22:24 +08:00
commit f6b98f65be
2 changed files with 2 additions and 2 deletions

View File

@ -246,7 +246,7 @@ export type QuestionOrderBy =
export interface QueryQuestionsReq extends Paging {
order: QuestionOrderBy;
tag?: string;
day?: number;
in_days?: number;
}
export type AdminQuestionStatus = 'available' | 'closed' | 'deleted';

View File

@ -22,7 +22,7 @@ export const useHotQuestions = (
page: 1,
page_size: 6,
order: 'frequent',
day: 7,
in_days: 7,
},
) => {
const apiUrl = `/answer/api/v1/question/page?${qs.stringify(params)}`;