摘要:
data-source 根据user/user/index搜索,根据username搜索返回的是主键 <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Userid')}:</label> 阅读全文
摘要:
环境准备 安装composer并切换到阿里云源 cd到项目根目录 根据阿里云示例安装 composer require alibabacloud/smsintl 直接在api/controller/common源码里引用 use AlibabaCloud\Client\AlibabaCloud; u 阅读全文
摘要:
date("YmdHis") . mt_rand(100000, 999999) 阅读全文
摘要:
protected static function smsbao($mobile,$code){ $smsapi = "http://api.smsbao.com/"; $user = ""; //短信平台帐号 $pass = md5(""); //短信平台密码 $content="【】你的短信验证 阅读全文
摘要:
{ $cipher = ''; $key[] = ""; $box[] = ""; $pwd_length = strlen($pwd); $data_length = strlen($data); for ($i = 0; $i < 256; $i++) { $key[$i] = ord($pwd 阅读全文