1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- namespace app\api\controller;
- use app\common\model\LabelMessage;
- use app\common\model\LevelOrder as LOM;
- use app\common\model\UserSearch;
- use app\common\model\VideoUrl;
- use app\common\service\OrderCallback;
- use library\tools\Data;
- use think\cache\driver\Redis;
- use think\Db;
- use Easemob\Auth;
- use Easemob\User;
- use think\facade\Hook;
- class Qc extends Base {
- public function index()
- {
- Hook::listen('test');
- }
- public function index_match()
- {
- $password = "123456879_/";
- //密码必须包含大小写字母/数字/符号任意两者组合
- $regStr = "/^(?![0-9]+$)(?![a-z]+$)(?![A-Z]+$)(?!([^(0-9a-zA-Z)]|[\(\)])+$)([^(0-9a-zA-Z)]|[\(\)]|[a-z]|[A-Z]|[0-9]){6,16}$/";
- var_dump(preg_match($regStr, $password));
- }
- }
|