Skip to content

Comments

更优雅的返回错误#5

Open
muxik wants to merge 2 commits intolikeadmin-likeshop:masterfrom
muxik:setError
Open

更优雅的返回错误#5
muxik wants to merge 2 commits intolikeadmin-likeshop:masterfrom
muxik:setError

Conversation

@muxik
Copy link

@muxik muxik commented Dec 28, 2023

直接在setError里返回false省去return false;可以直接返回return self::setError("错误信息")

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