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

feat: add basic functions of demo mode #569

Merged
merged 8 commits into from
Feb 14, 2020
Merged

feat: add basic functions of demo mode #569

merged 8 commits into from
Feb 14, 2020

Conversation

guqing
Copy link
Member

@guqing guqing commented Feb 14, 2020

No description provided.

@guqing guqing linked an issue Feb 14, 2020 that may be closed by this pull request
@JohnNiang
Copy link
Member

建议写测试类

@guqing
Copy link
Member Author

guqing commented Feb 14, 2020

建议写测试类

不知道怎么写这样的测试类(注解和切面)

@ruibaby
Copy link
Member

ruibaby commented Feb 14, 2020

这个 DisableApi 注解应该换个名字,感觉有点模棱两可。会造成其他开发者的困惑。

@guqing
Copy link
Member Author

guqing commented Feb 14, 2020

@ruibaby 今天问你 你没回 然后就先用了这个名字

@JohnNiang
Copy link
Member

看起来差不多了,可以考虑合并了。

@guqing
Copy link
Member Author

guqing commented Feb 14, 2020

@JohnNiang 如果review没问题就可以合并了

@JohnNiang JohnNiang added this to the 1.3.0 milestone Feb 14, 2020
@JohnNiang JohnNiang added the kind/feature Categorizes issue or PR as related to a new feature. label Feb 14, 2020
@JohnNiang JohnNiang merged commit b78e216 into halo-dev:master Feb 14, 2020
ruibaby pushed a commit to ruibaby/halo that referenced this pull request Jun 11, 2021
* feat: add basic functions of demo mode

* feat: add @disableApi annotation to some API that should be disabled

* feat: add DisableApi test case

* fix: change DisableApi annotation name to DisableOnConditation

* Fix test cases

* Add more strict test on failing case

Co-authored-by: John Niang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

提供 demo 配置功能
3 participants