Alipay's Synchronize and asynchronous problems (see figure)

1.1:  3.4:
?
:
    :;
    :3.2,APP
    ;
    
?


take an example:
Synchronize: I give you a kick, you immediately tell me you hurt;
Asynchronous: I give you a kick, you don't respond. Two days later, your mother came to my mother and said you hurt.


the Synchronize here returns a QR code link, which means that when you call this API, the QR code link is saved and returned in the response result; if the payment is successful, an asynchronous message is returned: you call the payment API. The response result of the API does not contain information about whether the payment is successful. When the payment is successful, the payment platform will call the API provided by you to inform you whether the payment is successful.

clipboard.png

digression: the dotted line return arrow in UML refers to the result return of asynchronous messages, which is not very accurate here.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b330bd-3422c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b330bd-3422c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?