Parcourir la source

Merge branch 'test' of 39.97.239.116:gyfl/apisongcan into test

stanley-king il y a 4 ans
Parent
commit
3fcfe8b565
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      application/index/controller/Order.php

+ 1 - 1
application/index/controller/Order.php

@@ -155,7 +155,7 @@ class Order extends Base
     {
         $code = rand(100000,999999);
         $BoxModel = new BoxModel();
-        $box = $BoxModel->where('code',$code)->find();
+        $box = $BoxModel->where('fetch_code',$code)->find();
         if(!empty($box)){
             $this->createRandCode();
         }