|
|
@@ -2,11 +2,7 @@ package shop.alien.job.feign;
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.PathVariable;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestParam;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
import shop.alien.entity.result.R;
|
|
|
|
|
|
import java.util.Map;
|
|
|
@@ -95,6 +91,14 @@ public interface AlienStoreFeign {
|
|
|
R<Integer> retryRefundFailed();
|
|
|
|
|
|
/**
|
|
|
+ * 特约商户进件:申请单号查询申请状态(转发微信 GET .../applyment_id/{applyment_id})。
|
|
|
+ * 需在配置中提供 {@code feign.alienStore.url} 指向 alien-store 根地址。
|
|
|
+ *
|
|
|
+ * @param applymentId 微信支付申请单号
|
|
|
+ */
|
|
|
+ @GetMapping("/payment/wechatPartner/v3/applyment4sub/applyment/applyment_id/{applyment_id}")
|
|
|
+ R<Map<String, Object>> queryWechatPartnerApplymentState(@PathVariable("applyment_id") Long applymentId);
|
|
|
+ /**
|
|
|
* 服务费规则定时任务:自动关闭已过期的自定义日期规则
|
|
|
*
|
|
|
* @return R.data 为本次关闭数量
|