增加消费码支付功能、支付逻辑优化、金额问题优化、订单绑定优化
This commit is contained in:
@@ -213,11 +213,20 @@ interface ApiService {
|
||||
* APP根据id获取会员或员工信息及余额
|
||||
*/
|
||||
@GET
|
||||
suspend fun getMemberInfo(
|
||||
suspend fun getMemberInfoById(
|
||||
@Url url: String = "${GlobalData.appBaseUrl}/terminal/neglect/common/app/getUserInfoBalanceById",
|
||||
@Query("id") memberId: String,
|
||||
): ApiResponse<MemberInfo?>
|
||||
|
||||
/**
|
||||
* 根据手机尾号和密钥查询员工信息及余额
|
||||
*/
|
||||
@POST
|
||||
suspend fun getMemberInfoByPhone(
|
||||
@Url url: String = "${GlobalData.appBaseUrl}/terminal/neglect/common/app/queryUserInfoBalanceByPhone",
|
||||
@Body param: HashMap<String, String>
|
||||
): ApiResponse<MemberInfo?>
|
||||
|
||||
/**
|
||||
* 绑定用户与订单号
|
||||
*/
|
||||
@@ -225,7 +234,8 @@ interface ApiService {
|
||||
suspend fun bindOrder(
|
||||
@Url url: String = "${GlobalData.appBaseUrl}/terminal/neglect/boothMachine/app/bingOrder",
|
||||
@Query("userId") userId: String,
|
||||
@Query("orderNo") orderId: String
|
||||
@Query("orderNo") orderId: String,
|
||||
@Query("mode") mode: Int
|
||||
): ApiResponse<Any?>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user