Browse Source

Merge branch 'bugfix_2025_02_10_liu' into dev

rkljw 2 months ago
parent
commit
3565c0bbd0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/JsonRpc/WebsiteService.php

+ 1 - 0
app/JsonRpc/WebsiteService.php

@@ -1136,6 +1136,7 @@ class WebsiteService implements WebsiteServiceInterface
             'website_id' => $data['website_id'],
             'category_id' => $data['category_id'],
         ];
+        $data['sort'] = $data['sort']??0;
         $result = WebsiteCategory::where($where)->update($data);
         if ($result) {
             return Result::success($result);