亚洲精品中文免费|亚洲日韩中文字幕制服|久久精品亚洲免费|一本之道久久免费

      
      

            <dl id="hur0q"><div id="hur0q"></div></dl>

                簡單易操作的DELPHI短信驗證碼接口demo

                DELPHI對接驗證碼短信接口DEMO示例

                //接口類型:互億無線觸發(fā)短信接口,支持發(fā)送驗證碼短信、訂單通知短信等。//賬戶注冊:請通過該地址開通賬戶 http://user.ihuyi.com/?DKimmu//注意事項://(1)調試期間,請使用用系統(tǒng)默認的短信內容:您的驗證碼是:【變量】。請不要把驗證碼泄露給其他人。//(2)請使用 用戶名 及 APIkey來調用接口,APIkey在會員中心可以獲??;//(3)該代碼僅供接入互億無線短信接口參考使用,客戶可根據實際需要自行編寫;// ************************************************************************ //// The types declared in this file were generated from data read from the// WSDL File described below:// WSDL : http://106.ihuyi.com/webservice/sms.php?wsdl// >Import : http://106.ihuyi.com/webservice/sms.php?wsdl:0// Encoding : utf-8// Version : 1.0// (2013/11/26 10:37:24 – – $Rev: 10138 $)// ************************************************************************ //unit sms;interfaceuses InvokeRegistry, SOAPHTTPClient, Types, XSBuiltIns;const IS_OPTN = $0001; IS_REF = $0080;type // ************************************************************************ // // The following types, referred to in the WSDL document are not being represented // in this file. They are either aliases[@] of other types represented or were referred // to but never[!] declared in the document. The types from the latter category // typically map to predefined/known XML or Borland types; however, they could also // indicate incorrect WSDL documents that failed to declare or import a schema type. // ************************************************************************ // // !:int – “http://www.w3.org/2001/XMLSchema”[Gbl] // !:string – “http://www.w3.org/2001/XMLSchema”[Gbl] // !:srting – “http://www.w3.org/2001/XMLSchema”[Gbl] SubmitResult = class; { “http://106.ihuyi.com/”[GblCplx] } ChangePasswordResult = class; { “http://106.ihuyi.com/”[GblCplx] } GetNumResult = class; { “http://106.ihuyi.com/”[GblCplx] } VersionInfoResult = class; { “http://106.ihuyi.com/”[GblCplx] } // ************************************************************************ // // XML : SubmitResult, global, // Namespace : http://106.ihuyi.com/ // ************************************************************************ // SubmitResult = class(TRemotable) private Fcode: Integer; Fmsg: WideString; Fsmsid: Integer; published property code: Integer read Fcode write Fcode; property msg: WideString read Fmsg write Fmsg; property smsid: Integer read Fsmsid write Fsmsid; end; // ************************************************************************ // // XML : ChangePasswordResult, global, // Namespace : http://106.ihuyi.com/ // ************************************************************************ // ChangePasswordResult = class(TRemotable) private Fcode: Integer; Fmsg: WideString; published property code: Integer read Fcode write Fcode; property msg: WideString read Fmsg write Fmsg; end; // ************************************************************************ // // XML : GetNumResult, global, // Namespace : http://106.ihuyi.com/ // ************************************************************************ // GetNumResult = class(TRemotable) private Fcode: Integer; Fmsg: WideString; Fnum: Integer; published property code: Integer read Fcode write Fcode; property msg: WideString read Fmsg write Fmsg; property num: Integer read Fnum write Fnum; end; // ************************************************************************ // // XML : VersionInfoResult, global, // Namespace : http://106.ihuyi.com/ // ************************************************************************ // VersionInfoResult = class(TRemotable) private Fmsg: WideString; published property msg: WideString read Fmsg write Fmsg; end; // ************************************************************************ // // Namespace : http://106.ihuyi.com/ // soapAction: http://106.ihuyi.com/%operationName% // transport : http://schemas.xmlsoap.org/soap/http // style : document // binding : smsSoap // service : sms // port : smsSoap // URL : http://106.ihuyi.com/webservice/sms.php?smsService // ************************************************************************ // smsSoap = interface(IInvokable) [‘{228902AE-4B53-39C9-05CA-F389FEE82174}’] function Submit(const account: WideString; const password: WideString; const mobile: WideString; const content: WideString): SubmitResult; stdcall; function ChangePassword(const account: WideString; const password: WideString; const newpassword: WideString): ChangePasswordResult; stdcall; function GetNum(const account: WideString; const password: WideString): GetNumResult; stdcall; function VersionInfo: VersionInfoResult; stdcall; end;function GetsmsSoap(UseWSDL: Boolean=System.False; Addr: string=”; HTTPRIO: THTTPRIO = nil): smsSoap;implementation uses SysUtils;function GetsmsSoap(UseWSDL: Boolean; Addr: string; HTTPRIO: THTTPRIO): smsSoap;const defWSDL = ‘http://106.ihuyi.com/webservice/sms.php?wsdl’; defURL = ‘http://106.ihuyi.com/webservice/sms.php?smsService’; defSvc = ‘sms’; defPrt = ‘smsSoap’;var RIO: THTTPRIO;begin Result := nil; if (Addr = ”) then begin if UseWSDL then Addr := defWSDL else Addr := defURL; end; if HTTPRIO = nil then RIO := THTTPRIO.Create(nil) else RIO := HTTPRIO; try Result := (RIO as smsSoap); if UseWSDL then begin RIO.WSDLLocation := Addr; RIO.Service := defSvc; RIO.Port := defPrt; end else RIO.URL := Addr; finally if (Result = nil) and (HTTPRIO = nil) then RIO.Free; end;end;initialization InvRegistry.RegisterInterface(TypeInfo(smsSoap), ‘http://106.ihuyi.com/’, ‘utf-8’); InvRegistry.RegisterDefaultSOAPAction(TypeInfo(smsSoap), ‘http://106.ihuyi.com/%operationName%’); InvRegistry.RegisterInvokeOptions(TypeInfo(smsSoap), ioDocument); RemClassRegistry.RegisterXSClass(SubmitResult, ‘http://106.ihuyi.com/’, ‘SubmitResult’); RemClassRegistry.RegisterXSClass(ChangePasswordResult, ‘http://106.ihuyi.com/’, ‘ChangePasswordResult’); RemClassRegistry.RegisterXSClass(GetNumResult, ‘http://106.ihuyi.com/’, ‘GetNumResult’); RemClassRegistry.RegisterXSClass(VersionInfoResult, ‘http://106.ihuyi.com/’, ‘VersionInfoResult’);end.

                鄭重聲明:本文內容及圖片均整理自互聯(lián)網,不代表本站立場,版權歸原作者所有,如有侵權請聯(lián)系管理員(admin#wlmqw.com)刪除。
                用戶投稿
                上一篇 2022年7月8日 06:24
                下一篇 2022年7月8日 06:24

                相關推薦

                • 淘寶工廠店的東西是正品嗎?淘寶工廠店為什么便宜

                  淘工廠直營店其實就是鏈接淘寶賣家與工廠的平臺,直接對接工廠型的商家,店鋪里的東西大部分價格都會很低。那么,淘工廠直營店靠譜嗎? 淘工廠直營店是靠譜的,但售后問題可能得不到很好的保障…

                  2022年11月27日
                • 存儲過程語法(sql server存儲過程語法)

                  今天小編給各位分享存儲過程語法的知識,其中也會對sql server存儲過程語法進行解釋,如果能碰巧解決你現在面臨的問題,別忘了關注本站,現在開始吧! oracle存儲過程基本語法…

                  2022年11月26日
                • 工商銀行:已為客戶開立個人養(yǎng)老金資金賬戶

                  南方財經11月25日電,剛剛,21世紀經濟報道記者收到工商銀行短信,稱“尊敬的客戶,您已成功開立工商銀行個人養(yǎng)老金資金賬戶,尾號為****,如有疑問,請及時聯(lián)系我行客服熱線9558…

                  2022年11月26日
                • 數字看亮點!前十月我國造船三大指標繼續(xù)全球領先

                  央視網消息:工業(yè)和信息化部最新數據顯示,今年1—10月,我國造船三大指標繼續(xù)保持全球領先。隨著生產節(jié)奏加快,船企產業(yè)集中度進一步提升。 2022年1—10月,全國造船完工量、新接訂…

                  2022年11月25日
                • 前十個月我國造船業(yè)三大指標穩(wěn)居世界第一

                  今年1—10月,我國造船業(yè)在國際市場的份額繼續(xù)穩(wěn)居世界第一。一批高技術高附加值船舶實現了批量接單、批量生產。 近日,中國船舶上海船舶研究設計院又新接了韓國船東三艘汽車運輸船的設計追…

                  2022年11月25日
                • 客服的崗位職責怎么寫(客服工作內容及職責)

                  各位小伙伴們大家周一好,又到了每周一給大家分享干貨內容的時候啦~ 本期來跟大家分享一下客服工作管理流程以及客服崗位里面的每項職能崗位的核心細則,也是干貨滿滿推薦收藏~ 一.補償流程…

                  2022年11月25日
                • 商家收到貨才會退款嗎(淘寶代付款退款錢到哪里了)

                  在淘寶上有一些人下單購買商品的時候是通過代付的形式來支付的,一般情況下是家長幫助家里的小孩或者長輩進行代付,而代付訂單和普通的訂單沒有太大的區(qū)別,不過如果發(fā)生退款的話,錢是退到哪里…

                  2022年11月25日
                • 淘寶直播開通后帶貨鏈接怎么做(淘寶直播需要開通淘寶店鋪嗎)

                  直播帶貨無論是對于商家來說還是主播收益都是非??捎^的,所以不少平臺都有直播帶貨功能,一些小伙伴也想加入淘寶直播,那么淘寶直播開通后帶貨鏈接怎么做?下面小編為大家?guī)硖詫氈辈ラ_通后帶…

                  2022年11月24日
                • 成都健康碼打不開顯示接口請求未知異常怎么辦(成都健康碼打不開顯示接口請求未知異常)

                  成都這幾天的疫情也是備受關注,疫情期間各地出行都是需要查看健康碼的,不過今天卻有成都的小伙伴反饋健康碼無法打開的情況。成都健康碼打不開顯示接口請求未知異常怎么辦?由于健康碼無法打開…

                  2022年11月24日
                • 電商打單是什么意思 打單軟件哪個好

                  在電商行業(yè)當中,打單配貨方式分為前置打單和后置打單。兩者之前其實是有區(qū)別的,那今天小編就來跟大家說說。 一、前置打單和后置打單的區(qū)別 一般電商行業(yè)用的打單發(fā)貨的方式其實都是前置打單…

                  2022年11月23日

                聯(lián)系我們

                聯(lián)系郵箱:admin#wlmqw.com
                工作時間:周一至周五,10:30-18:30,節(jié)假日休息