PHP SDK
<p class="shortdesc"><a class="xref" href="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/MSC_SDK_PHP.zip" target="_blank">点击下载SDK</a></p>
<div class="p">
<ol class="ol" id="PHPSDK__ol_ujk_zd5_xmb">
<li class="li">概述<p class="p">本文描述了PHP版本的SDK开发和使用说明。</p></li>
<li class="li">环境信息<div class="p">
<ul class="ul" id="PHPSDK__ul_f1s_c25_xmb">
<li class="li">PHP版本:7.1.6</li>
<li class="li">代码编码格式:UTF-8</li>
<li class="li">开发工具:eclipse PHP</li>
</ul>
</div></li>
<li class="li">代码说明<table class="table frame-all" id="PHPSDK__table_h1j_225_xmb"><caption></caption><colgroup><col style="width:50%"><col style="width:50%"></colgroup><thead class="thead">
<tr class="row">
<th class="entry colsep-1 rowsep-1" id="PHPSDK__table_h1j_225_xmb__entry__1">代码</th>
<th class="entry colsep-1 rowsep-1" id="PHPSDK__table_h1j_225_xmb__entry__2">说明</th>
</tr>
</thead><tbody class="tbody">
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="PHPSDK__table_h1j_225_xmb__entry__1 ">
<p class="p">lib</p>
</td>
<td class="entry colsep-1 rowsep-1" headers="PHPSDK__table_h1j_225_xmb__entry__2 ">
<p class="p">包含目前编写的调用消息云接口所需要的代码。</p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="PHPSDK__table_h1j_225_xmb__entry__1 ">
<p class="p">SmsSendContent.php</p>
</td>
<td class="entry colsep-1 rowsep-1" headers="PHPSDK__table_h1j_225_xmb__entry__2 ">
<p class="p">封装了发送短信所需要的字段。</p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="PHPSDK__table_h1j_225_xmb__entry__1 ">
<p class="p">MSGOMCPClient.php</p>
</td>
<td class="entry colsep-1 rowsep-1" headers="PHPSDK__table_h1j_225_xmb__entry__2 ">
<p class="p">实现了签名逻辑、发送短信、发短信发送结果查询、otp验证码发送、otp验证码校验。</p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="PHPSDK__table_h1j_225_xmb__entry__1 ">
<p class="p">TestSMSFunction.php</p>
</td>
<td class="entry colsep-1 rowsep-1" headers="PHPSDK__table_h1j_225_xmb__entry__2 ">
<p class="p">调用MSGOMCPClient里面方法的例子。</p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="PHPSDK__table_h1j_225_xmb__entry__1 ">
<p class="p">demo.php</p>
</td>
<td class="entry colsep-1 rowsep-1" headers="PHPSDK__table_h1j_225_xmb__entry__2 ">
<p class="p">调用TestSMSFunction里面方法的例子。</p>
</td>
</tr>
</tbody></table></li>
<li class="li">在eclipse新建开发项目<ol class="ol" type="a" id="PHPSDK__ol_ftj_m25_xmb">
<li class="li">新建project。<img class="image" id="PHPSDK__image_bhb_q25_xmb" src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20203112140407-1ed357cc9ac3.png"><img class="image" id="PHPSDK__image_lwt_q25_xmb" src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20203112140407-1f7f0cd294d6.png"></li>
<li class="li">选择sdk_php目录。<img class="image" id="PHPSDK__image_dmd_v25_xmb" src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20203112140407-15dd6515945c.png"></li>
<li class="li">单击Finish后,代码结构显示如下:<img class="image" id="PHPSDK__image_jx3_y25_xmb" src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20203112140408-15c2b161946e.png"></li>
</ol></li>
<li class="li"></li>
</ol>
</div>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!