控制台应用,yzncms本身基于tp5.1框架,里面的队列用不了,bug,坑
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011121314151617181920 |
- <?php
-
- namespace app\common\model;
-
- use think\Model;
-
- /**
- * 短信验证码
- */
- class Sms extends Model
- {
-
- protected $auto = ['ip'];
-
- public function setIpAttr($value)
- {
- return request()->ip();
- }
-
- }
|