|
|
@@ -8,8 +8,7 @@ import com.zswl.dataservice.domain.mqtt.DeviceInfo;
|
|
|
import com.zswl.dataservice.httpRequest.ApiRequestService;
|
|
|
import com.zswl.dataservice.httpRequest.apiConf.APIResponseModel;
|
|
|
import com.zswl.dataservice.httpRequest.conf.FullCardAPIConfig;
|
|
|
-import com.zswl.dataservice.model.hxz.ConsumTransactionsModel;
|
|
|
-import com.zswl.dataservice.model.hxz.ConsumTransactionsResult;
|
|
|
+import com.zswl.dataservice.model.hxz.*;
|
|
|
import com.zswl.dataservice.model.payment.ServerTimeModel;
|
|
|
import com.zswl.dataservice.model.payment.ServerTimeResult;
|
|
|
import com.zswl.dataservice.service.base.SuperService;
|
|
|
@@ -103,7 +102,7 @@ public class HxzService extends SuperService {
|
|
|
|
|
|
// 刷卡消费
|
|
|
log.info("consumTransactions : {} - {} - {}", params.getOrder(), cardNumber, amount);
|
|
|
- ret = new ConsumTransactionsResult()
|
|
|
+ ret = new ConsumTransactionsResult()
|
|
|
.setStatus(1)
|
|
|
.setCardNo(params.getCardNo())
|
|
|
.setMoney(amount)
|
|
|
@@ -113,4 +112,32 @@ public class HxzService extends SuperService {
|
|
|
return ResultContent.buildSuccess(ret);
|
|
|
}
|
|
|
|
|
|
+ @ExecuteAnnotationServiceMethod(value = "orderQuery", remark = "云版消费机 用户刷卡消费结果查询接口")
|
|
|
+ public ResultContent<Object> orderQuery(String dataStr) {
|
|
|
+ OrderQueryResult result = new OrderQueryResult();
|
|
|
+
|
|
|
+ return ResultContent.buildSuccess(result);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExecuteAnnotationServiceMethod(value = "qrcodeconsum", remark = "云版消费机 用户刷卡消费结果查询接口")
|
|
|
+ public ResultContent<Object> qrcodeconsum(String dataStr) {
|
|
|
+ OrderQueryResult result = new OrderQueryResult();
|
|
|
+
|
|
|
+ return ResultContent.buildSuccess(result);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExecuteAnnotationServiceMethod(value = "QRCodeTransaction", remark = "云版消费机 付款码(二维码)支付接口")
|
|
|
+ public ResultContent<Object> QRCodeTransaction(String dataStr) {
|
|
|
+ QRCodeTransactionResult result = new QRCodeTransactionResult();
|
|
|
+
|
|
|
+ return ResultContent.buildSuccess(result);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExecuteAnnotationServiceMethod(value = "TransactionInquiry", remark = "云版消费机 2.8.二维码支付结果查询接口")
|
|
|
+ public ResultContent<Object> TransactionInquiry(String dataStr) {
|
|
|
+ TransactionInquiryResult result = new TransactionInquiryResult();
|
|
|
+
|
|
|
+ return ResultContent.buildSuccess(result);
|
|
|
+ }
|
|
|
+
|
|
|
}
|