zxhxx 3 years ago
parent
commit
af26cb8e05
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/models/store/StoreGp.php

+ 2 - 1
app/models/store/StoreGp.php

@@ -14,8 +14,9 @@ class StoreGp extends BaseModel
      * 创建公排
      * @param $order
      */
-    public static function createGp($order)
+    public static function createGp($data)
     {
+        $order = $data['data'];
         @file_put_contents("job.txt",json_encode($order));
         try {
             $no = intval(self::value('max(no)') ?: 0) + 1;