menu MDClub JavaScript SDK ๆ–‡ๆกฃ

ReportApi.del

ๆณจๆ„๏ผš่ฏฅๆŽฅๅฃ้œ€่ฆ็ฎก็†ๅ‘˜ๆƒ้™ๆ‰่ƒฝ่ฐƒ็”จใ€‚

ๅˆ ้™คไธพๆŠฅใ€‚

ๆ–นๆณ•ๅฎšไน‰

ReportApi.del(param: DeleteParams): Promise<EmptyResponse>

ๅ‚ๆ•ฐ

DeleteParams ReportApi.ts:10

ๅ‚ๆ•ฐๅๅฟ…้€‰็ฑปๅž‹่ฏดๆ˜Ž
reportable_idๆ˜ฏnumber

็›ฎๆ ‡ID

reportable_typeๆ˜ฏstring

็›ฎๆ ‡็ฑปๅž‹

ๅ–ๅ€ผ่Œƒๅ›ดๅŒ…ๆ‹ฌ๏ผšquestionใ€answerใ€articleใ€commentใ€user

ๅ“ๅบ”

EmptyResponse models.ts:421

ๅ‚ๆ•ฐๅ็ฑปๅž‹่ฏดๆ˜Ž
codenumber

ๆ— ไปปไฝ•้”™่ฏฏๆ—ถ๏ผŒ็Šถๆ€็ ไธบ 0

datanull

่ฏฅๅญ—ๆฎตไธบ null๏ผŒ่ฏท้€š่ฟ‡ code ๅญ—ๆฎตๅˆคๆ–ญๆ“ไฝœ็ป“ๆžœ