在线不卡日本ⅴ一区v二区_精品一区二区中文字幕_天堂v在线视频_亚洲五月天婷婷中文网站

  • <menu id="lky3g"></menu>
  • <style id="lky3g"></style>
    <pre id="lky3g"><tt id="lky3g"></tt></pre>

    簡單易操作的DELPHI短信驗(yàn)證碼接口demo

    DELPHI對接驗(yàn)證碼短信接口DEMO示例

    //接口類型:互億無線觸發(fā)短信接口,支持發(fā)送驗(yàn)證碼短信、訂單通知短信等。//賬戶注冊:請通過該地址開通賬戶 http://user.ihuyi.com/?DKimmu//注意事項(xiàng)://(1)調(diào)試期間,請使用用系統(tǒng)默認(rèn)的短信內(nèi)容:您的驗(yàn)證碼是:【變量】。請不要把驗(yàn)證碼泄露給其他人。//(2)請使用 用戶名 及 APIkey來調(diào)用接口,APIkey在會員中心可以獲?。?/(3)該代碼僅供接入互億無線短信接口參考使用,客戶可根據(jù)實(shí)際需要自行編寫;// ************************************************************************ //// 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.

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

    相關(guān)推薦

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

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

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

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

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

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

      2022年11月26日
    • 數(shù)字看亮點(diǎn)!前十月我國造船三大指標(biāo)繼續(xù)全球領(lǐng)先

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

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

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

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

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

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

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

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

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

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

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

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

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

      2022年11月23日

    聯(lián)系我們

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