VerifyController.class.php 279 B

1234567891011121314151617
  1. <?php
  2. namespace Agent\Controller;
  3. class VerifyController extends \Think\Controller
  4. {
  5. public function code()
  6. {
  7. $config['useNoise'] = true;
  8. $config['length'] = 4;
  9. $config['codeSet'] = '1234567890';
  10. $verify = new \Think\Verify($config);
  11. $verify->entry('.cn');
  12. }
  13. }
  14. ?>