lizhen_gitee преди 5 месеца
родител
ревизия
fe245f03a8
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      application/api/controller/Baseconfig.php
  2. 1 1
      application/index/controller/Plantask.php

+ 1 - 1
application/api/controller/Baseconfig.php

@@ -14,7 +14,7 @@ class Baseconfig extends Api
     protected $noNeedRight = ['*'];
 
     public function apiurl(){
-        $this->success('success','https://jiankangyijia.huxiukeji.cn');
+//        $this->success('success','https://jiankangyijia.huxiukeji.cn');
     }
    
     public function index(){

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

@@ -35,7 +35,7 @@ class Plantask extends Controller
         //dump(datetime($lasttime));exit;
         Db::startTrans();
 
-        $wenzhen_order = Db::name('wenzhen_order')->where('status',10)->where('video_mode','NEQ',2)->where('pay_time','lt',$lasttime)->order('id asc')->lock(true)->find();
+        $wenzhen_order = Db::name('wenzhen_order')->where('status',10)->where('video_model','NEQ',2)->where('pay_time','lt',$lasttime)->order('id asc')->lock(true)->find();
         if(empty($order_list)){
             Db::rollback();
             echo 'empty';