|
@@ -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;
|