fix:支付流程调试通过
This commit is contained in:
+3
-10
@@ -21,19 +21,12 @@ public interface WechatConfigService {
|
||||
* @return
|
||||
*/
|
||||
@GetMapping(value = "/wechat/config/{type}")
|
||||
WechatConfig getConfig(@PathVariable("type") String type,String tenantId);
|
||||
WechatConfig getConfig(@PathVariable("type") String type,@RequestParam("tenantId") String tenantId);
|
||||
|
||||
@GetMapping(value = "/wechat/config/app/{id}")
|
||||
WechatConfig getConfigByAppId(@PathVariable("id") String appId);
|
||||
|
||||
/**
|
||||
* feign rpc访问远程/wechat/config/{type}接口
|
||||
* 查询微信配置对象WechatConfig
|
||||
*
|
||||
* @param type
|
||||
* @return
|
||||
*/
|
||||
@GetMapping(value = "/wechat/config/{type}")
|
||||
String getPrivateKey(@PathVariable("type") String type, @RequestParam("tenantId") String tenantId);
|
||||
@GetMapping(value = "/wechat/config/serial/{serialNumber}")
|
||||
WechatConfig getConfigBySerialNumber(@PathVariable("serialNumber") String serialNumber);
|
||||
|
||||
}
|
||||
|
||||
+2
-2
@@ -28,8 +28,8 @@ public class WechatConfigServiceFallbackFactory implements FallbackFactory<Wecha
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getPrivateKey(String type, String tenantId) {
|
||||
return "";
|
||||
public WechatConfig getConfigBySerialNumber(String serialNumber) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user