Преглед изворни кода

Merge branch '20241213_fr_diyweb' of https://gitee.com/zxt_5/public_producer into 20241213_fr_diyweb

15313670163 пре 3 месеци
родитељ
комит
b2136f0f2d
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      app/JsonRpc/PublicRpcService.php

+ 1 - 0
app/JsonRpc/PublicRpcService.php

@@ -593,6 +593,7 @@ class PublicRpcService implements PublicRpcServiceInterface
     public function addSector(array $data): array
     {
         unset($data['user_id']);
+        $data['page_type'] = json_encode($data['page_type']);
         $result = Sector::insertGetId($data);
         return Result::success();
     }