Koa uniformly verifies whether the post request is the specified source request

problem description

koa uniformly verifies the permission of the post request, whether it is the specified source request

the environmental background of the problems and what methods you have tried

do not want to make changes based on the original, because there may be many Post requests.
needs to be extended again in the second parameter asynchronous function of the original router.post.

related codes

/ / Please paste the code text below (do not replace the code with pictures)

  Design pattern  

Jun.17,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb821f-26a9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb821f-26a9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?