Data processing method and apparatus, computer device, and readable storage medium
摘要:
Embodiments of this application provide a data processing method and apparatus, a computer device, and a readable storage medium. The method includes: setting a state machine of a resource data transfer service to a first state in response to a start request for the resource data transfer service, the start request carrying a state identifier of the first state; executing a first service logic corresponding to the first state, to obtain an execution result of the first service logic; adjusting the state machine to a second state according to the execution result of the first service logic, and executing a second service logic corresponding to the second state, to obtain an execution result of the second service logic; and outputting a service execution result of the resource data transfer service according to the execution result of the second service logic when the second state is a termination state, a service logic of the resource data transfer service including at least the first service logic and the second service logic. In this way, the implementations of the resource data transfer service can be enriched.
信息查询
0/0