zxhxx 3 년 전
부모
커밋
af26cb8e05
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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;