...
|
...
|
@@ -87,6 +87,10 @@ class UserController extends RestBaseController |
|
|
$param['mobile']=17694933850;
|
|
|
require_once VENDOR_PATH . "sms/serverSid.php";
|
|
|
require_once VENDOR_PATH . "sms/lib/Ucpaas.class.php";
|
|
|
$options['accountsid']='d63e23ab657c95babad1681133dbabdc';
|
|
|
//填写在开发者控制台首页上的Auth Token
|
|
|
$options['token']='1fc7377f48edb5bf1659284210f16418';
|
|
|
$send=new \Ucpaas($options);
|
|
|
$code = cmf_get_verification_code($param['mobile'], 4);
|
|
|
$appid = "78950d10e37b4ae5bd9b9c08f3720db3"; //应用的ID,可在开发者控制台内的短信产品下查看
|
|
|
$templateid = "41494"; //可在后台短信产品→选择接入的应用→短信模板-模板ID,查看该模板ID
|
...
|
...
|
|