Your Name 3 anos atrás
pai
commit
b711391fa8
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      learn/active/src/Home.php

+ 1 - 1
learn/active/src/Home.php

@@ -232,7 +232,7 @@ Class Home extends Core
     #活动核销码
     public function getCode()
     {
-        $where['write_code'] = Dever::rand(6, 1);
+        $where['write_code'] = Dever::rand(6, 0);
         $state = Dever::db('active/code')->one($where);
         if (!$state) {
             return $where['write_code'];