Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Events and APIs #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Add Events and APIs #1

wants to merge 6 commits into from

Conversation

tnqzh123
Copy link
Member

照着 Laravel 文档和 BS 源码,依葫芦画瓢写出来的

主要就是做了以下两件事:

  • POST /admin/texture-moderation/review 的路由改成了 PUT /admin/texture-moderation/review/{record},其中 record 参数是材质审核记录的 ID,然后添加了一些事件以及 API 用的路由和 Scope
  • 把 TextureModerationController 里的 manage() 方法用 Eloquent ORM 重写了一下,对应的前端变量什么的也修改了

@tnqzh123 tnqzh123 self-assigned this Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant