
Log in and open the door(登录开门)
1.登录开门流程说明
开门流程中,先由用户打开手机H5扫扫描二维码,跳转到Kazaya登录授权,由Kazaya判断是否为自己的会员,如果是正常授权登录,如不是,进行会员授权注册流程采集会员信息后进行登录。登录成功后返回userid给服务端,服务端确认授权成功后即可返回首页,服务端接收请求后判断设备是否可正常开门,如设备可正常使用,用户可在H5端点击开门按钮开门,否则反馈信息给用户设备不可用。
Login and Open Process
In the process of opening the door, the user first opens the H5 scan two-dimensional code of the mobile phone and jumps to the Kazaya login authorization. The Kazaya judges whether it is its own member or not. If it is a normal authorized login, if not, it collects the membership information through the process of membership authorization registration and then logs in. After successful login, the user rid returns to the server. The server can return t
o the home page after confirming the successful authorization. After receiving the request, the server determines whether the device can open normally. If the device can be used normally, the user can open the door by clicking on the open button at H5, otherwise the feedback information is unavailable to the user equipment.
2.Flow chart(流程图):
3.Prototype(原型图):
4.Interface information that needs to be provided to us(需要提供给我方的接口信息):
4.1 User Authorization Interface(用户授权接口)
描述:调用用户授权接口进行授权,授权成功之后,再调用我们的请求地址(我们提供)。
Description: Call the User Authorization Interface for authorization, and then call our request address after the authorization is successful .
4.2 Query User Basic Information Interface(查询用户基本信息接口)
描述:查询用户基本信息,比如:手机号,昵称,头像..
Description: Query the user's basic information, such as: mobile phone number, nickname, avatar.
Shopping and Payment(购物和支付)
1.Payment Process(支付流程):
用户选购完商品之后关闭柜门,设备端通过识别称重等得出结果传送数据给服务端,服务端通过计算得出结论推送订单给用户,用户在手机上查看订单并点击支付,跳转到Kazaya完成支付流程。
After the user chooses and purchases the goods, closes the cabinet door, the device transmits the data to the server by identifying and weighing the results, and the server pushes the order to the user by calculating the conclusion. The user checks the order on
the mobile phone and clicks on the payment, then jumps to Kazaya to complete the payment process.
更多推荐
用户,授权,服务端,信息,设备,开门
发布评论