File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ pub trait Payer {
3939
4040 fn trade_page_pay ( & self , biz_content : & TradePagePayBiz ) -> Result < String > ;
4141
42- fn trede_query ( & self , biz_content : & TradeQueryBiz ) -> Result < TradeQueryResponse > ;
42+ fn trade_query ( & self , biz_content : & TradeQueryBiz ) -> Result < TradeQueryResponse > ;
4343
4444 fn trade_cancel ( & self , biz_content : & TradeCancelBiz ) -> Result < TradeCancelResponse > ;
4545
@@ -196,7 +196,7 @@ impl Payer for PayClient {
196196 /// <https://opendocs.alipay.com/apis/api_1/alipay.trade.query>
197197 ///
198198 /// alipay.trade.query(统一收单线下交易查询)
199- fn trede_query ( & self , biz_content : & TradeQueryBiz ) -> Result < TradeQueryResponse > {
199+ fn trade_query ( & self , biz_content : & TradeQueryBiz ) -> Result < TradeQueryResponse > {
200200 let body = self . do_alipay ( biz_content) ?;
201201 let res: TradeQueryResponse = serde_json:: from_slice ( & body) ?;
202202 if res. response . code != Some ( "10000" . to_string ( ) ) {
You can’t perform that action at this time.
0 commit comments