| 123456789101112131415161718192021222324252627282930313233 |
- class StoreRepository {
- StoreRepository._();
- factory StoreRepository() {
- return storeRepository;
- }
- // Future<StoreIndexResponse> storeIndex() {
- // return atmobApi
- // .storeIndex(AppBaseRequest())
- // .then(HttpHandler.handle(false));
- // }
- //
- // Future<OrderPayResponse> orderPay(
- // int itemId, int payPlatform, int payMethod) {
- // return atmobApi
- // .orderPay(OrderPayRequest(itemId, payPlatform, payMethod))
- // .then(HttpHandler.handle(false));
- // }
- //
- // Future<int> orderStatus(String outTradeNo, {String? receiptData}) {
- // return atmobApi
- // .orderStatus(OrderStatusRequest(outTradeNo, receiptData))
- // .then(HttpHandler.handle(false))
- // .then((data) {
- // return data.payStatus;
- // });
- // }
- }
- final StoreRepository storeRepository = StoreRepository._();
|