mirror of
https://gitee.com/dromara/dy-java.git
synced 2024-11-29 18:49:37 +08:00
行业交易系统->核销->抖音码->查询劵状态信息
This commit is contained in:
parent
247e6c1a9f
commit
0626c4eb96
@ -2330,6 +2330,14 @@ public class DyAppletClient extends BaseClient {
|
||||
return new IndustryTransactionHandler(configuration().getAgentByTenantId(tenantId, clientKey)).tradeDeliveryVerify(body);
|
||||
}
|
||||
|
||||
/**
|
||||
* 行业交易系统->核销->抖音码->查询劵状态信息
|
||||
* @param body 查询劵状态信息请求值
|
||||
* @return
|
||||
*/
|
||||
public DySimpleResult<List<QueryIndustryItemOrderInfo>> queryItemOrderInfo(QueryIndustryItemOrderInfoQuery body) {
|
||||
return new IndustryTransactionHandler(configuration().getAgentByTenantId(tenantId, clientKey)).queryItemOrderInfo(body);
|
||||
}
|
||||
/**
|
||||
* 获取抖音号绑定所需的资质模版列表
|
||||
*
|
||||
|
@ -5,6 +5,7 @@ import com.dtflys.forest.annotation.JSONBody;
|
||||
import com.dtflys.forest.annotation.Post;
|
||||
import com.dyj.applet.domain.QueryAndCalculateMarketingResult;
|
||||
import com.dyj.applet.domain.QueryCertificatesOrderInfo;
|
||||
import com.dyj.applet.domain.QueryIndustryItemOrderInfo;
|
||||
import com.dyj.applet.domain.query.*;
|
||||
import com.dyj.applet.domain.vo.*;
|
||||
import com.dyj.common.domain.DataAndExtraVo;
|
||||
@ -259,5 +260,11 @@ public interface IndustryTransactionClient {
|
||||
@Post(value = "${tradeDeliveryVerify}", interceptor = ClientTokenInterceptor.class)
|
||||
DySimpleResult<TradeDeliveryVerifyVo> tradeDeliveryVerify(@JSONBody DeliveryVerifyQuery body);
|
||||
|
||||
|
||||
/**
|
||||
* 行业交易系统->核销->抖音码->查询劵状态信息
|
||||
* @param body 查询劵状态信息请求值
|
||||
* @return
|
||||
*/
|
||||
@Post(value = "${queryItemOrderInfo}", interceptor = ClientTokenInterceptor.class)
|
||||
DySimpleResult<List<QueryIndustryItemOrderInfo>> queryItemOrderInfo(@JSONBody QueryIndustryItemOrderInfoQuery body);
|
||||
}
|
||||
|
@ -4,6 +4,7 @@ import com.dtflys.forest.annotation.JSONBody;
|
||||
import com.dtflys.forest.annotation.Post;
|
||||
import com.dyj.applet.domain.QueryAndCalculateMarketingResult;
|
||||
import com.dyj.applet.domain.QueryCertificatesOrderInfo;
|
||||
import com.dyj.applet.domain.QueryIndustryItemOrderInfo;
|
||||
import com.dyj.applet.domain.query.*;
|
||||
import com.dyj.applet.domain.vo.*;
|
||||
import com.dyj.common.config.AgentConfiguration;
|
||||
@ -325,4 +326,14 @@ public class IndustryTransactionHandler extends AbstractAppletHandler{
|
||||
baseQuery(body);
|
||||
return getIndustryOpenTransactionClient().tradeDeliveryVerify(body);
|
||||
}
|
||||
|
||||
/**
|
||||
* 行业交易系统->核销->抖音码->查询劵状态信息
|
||||
* @param body 查询劵状态信息请求值
|
||||
* @return
|
||||
*/
|
||||
public DySimpleResult<List<QueryIndustryItemOrderInfo>> queryItemOrderInfo(QueryIndustryItemOrderInfoQuery body) {
|
||||
baseQuery(body);
|
||||
return getIndustryOpenTransactionClient().queryItemOrderInfo(body);
|
||||
}
|
||||
}
|
||||
|
@ -624,6 +624,12 @@ public enum DyAppletUrlPathEnum {
|
||||
* 行业交易系统->核销->抖音码->验券
|
||||
*/
|
||||
TRADE_DELIVERY_VERIFY("tradeDeliveryVerify", "/api/apps/trade/v2/delivery_verify"),
|
||||
|
||||
/**
|
||||
* https://developer.toutiao.com
|
||||
* 行业交易系统->核销->抖音码->查询劵状态信息
|
||||
*/
|
||||
QUERY_ITEM_ORDER_INFO("queryItemOrderInfo", "/api/apps/trade/v2/query_item_order_info"),
|
||||
;
|
||||
|
||||
|
||||
|
@ -752,4 +752,17 @@ public class TransactionTest {
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* 行业交易系统->核销->抖音码->查询劵状态信息
|
||||
*/
|
||||
@Test
|
||||
public void queryItemOrderInfo(){
|
||||
DyAppletClient dyAppletClient = new DyAppletClient();
|
||||
System.out.println(
|
||||
JSON.toJSONString(
|
||||
dyAppletClient.queryItemOrderInfo(QueryIndustryItemOrderInfoQuery.builder().build())
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user