Ask a design question and get the interface of the mobile verification code.

We are currently working on an APP server-side interface design to obtain the mobile verification code, which is needed in many places, such as mobile number registration, password modification, payment password modification, account recovery, important card number binding, and so on. What about getting the CAPTCHA and designing the interface as an interface and distinguishing it according to the type field of the business type? Is it better to write multiple interfaces according to specific business

Mar.12,2021

try to use one business and one interface, but there is still a certain risk for multiple businesses to use one interface.
for example, if an interface suddenly goes wrong, multiple businesses using the interface will be damaged
if a business has an interface, an interface error will affect only one business, and other businesses will not be affected.
to ensure that the damage to the business caused by interface damage is reduced


disagree. Sending code SMS should be an interface, verifying that the number is correct is an excuse, and other services can use these two interfaces. You can distinguish transactions by type type. Sending SMS messages and verifying SMS messages are the same, even if you write them separately, you will still make mistakes. Unify into one for better management

Menu