songxingwei 2 years ago
parent
commit
02acf57c93
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/Timedtask.php

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

@@ -68,7 +68,7 @@ class Timedtask
      * @method GET
      * @method GET
      */
      */
     public function SecondaryancelGoodsOrder(){
     public function SecondaryancelGoodsOrder(){
-        $CancelTime = getCancelTime();
+        $CancelTime = getConfigValue('secondary_cancel_time');
         if ($CancelTime<=0){
         if ($CancelTime<=0){
             die;
             die;
         }
         }