|
|
@@ -271,6 +271,27 @@ public interface DiningServiceFeign {
|
|
|
@PostMapping(value = "/dining/file/upload", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
|
|
R<String> uploadFile(@RequestPart("file") MultipartFile file);
|
|
|
|
|
|
+ @GetMapping("/payment/prePay")
|
|
|
+ R<Object> prePay(
|
|
|
+ @RequestHeader(value = "Authorization", required = false) String authorization,
|
|
|
+ @RequestParam("price") String price,
|
|
|
+ @RequestParam("subject") String subject,
|
|
|
+ @RequestParam("payType") String payType,
|
|
|
+ @RequestParam("payer") String payer,
|
|
|
+ @RequestParam("orderNo") String orderNo,
|
|
|
+ @RequestParam("storeId") Integer storeId,
|
|
|
+ @RequestParam(value = "couponId", required = false) Integer couponId,
|
|
|
+ @RequestParam(value = "payerId", required = false) Integer payerId,
|
|
|
+ @RequestParam(value = "tablewareFee", required = false) String tablewareFee,
|
|
|
+ @RequestParam(value = "discountAmount", required = false) String discountAmount,
|
|
|
+ @RequestParam(value = "payAmount", required = false) String payAmount);
|
|
|
+
|
|
|
+ @GetMapping("/payment/searchOrderByOutTradeNoPath")
|
|
|
+ R<Object> searchOrderByOutTradeNoPath(
|
|
|
+ @RequestParam("transactionId") String transactionId,
|
|
|
+ @RequestParam("payType") String payType,
|
|
|
+ @RequestParam("storeId") Integer storeId);
|
|
|
+
|
|
|
/**
|
|
|
* 支付成功后重置餐桌与购物车(与 alien-dining {@code StoreOrderService.resetTableAfterPayment} 一致),供微信回调等业务使用。
|
|
|
*/
|