|
|
|
@@ -295,7 +295,7 @@ public class AliPayApi { |
|
|
|
* @return |
|
|
|
* @throws Exception |
|
|
|
*/ |
|
|
|
public static AlipayOpenApiGenericResponse topicSubscribe(Config config,String appAuthToken,String authType,String topic,String type,String tag) throws Exception { |
|
|
|
public static AlipayOpenApiGenericResponse topicSubscribe(Config config,String appAuthToken,String authToken,String authType,String topic,String type,String tag) throws Exception { |
|
|
|
Factory.setOptions(config); |
|
|
|
//设置系统参数(OpenAPI中非biz_content里的参数) |
|
|
|
Map<String, String> textParams = new HashMap<String, String>(); |
|
|
|
@@ -303,7 +303,7 @@ public class AliPayApi { |
|
|
|
|
|
|
|
//设置业务参数(OpenAPI中biz_content里的参数) |
|
|
|
Map<String, Object> bizParams = new HashMap<String, Object>(); |
|
|
|
bizParams.put("auth_token", appAuthToken); |
|
|
|
bizParams.put("auth_token", authToken); |
|
|
|
bizParams.put("auth_type", authType); |
|
|
|
bizParams.put("topic", topic); |
|
|
|
bizParams.put("comm_type", type); |
|
|
|
|