When adding, it is necessary to verify whether the user name is repeated.
When editing, there is no need to verify whether the user name is repeated.
How to distinguish and write request verification rules at this time?
phpcn_u15822017-05-16 16:50:43
Hope it can give you some inspiration
Refer to the official document Forcing A Unique Rule To Ignore A Given ID section