shenwu 7 hónapja
szülő
commit
07b97e8851

+ 3 - 1
src/pages/MiniApp/BookManage/Long/index.tsx

@@ -64,7 +64,9 @@ const Page: React.FC = (props: Props) => {
     let publicData = useMemo(() => {
         let pramas = {
             appId: initialState?.selectApp?.id || "",
-            appType: initialState?.selectApp?.appType || ""
+            distributorId: initialState?.currentUser?.distributorId,
+            appType: initialState?.selectApp?.appType || "",
+
         }
         return bookId ? {
             appId: initialState?.selectApp?.id || "",

+ 1 - 0
src/pages/MiniApp/BookManage/Short/index.tsx

@@ -64,6 +64,7 @@ const Page: React.FC = (props: Props) => {
     let publicData = useMemo(() => {
         let pramas = {
             appId: initialState?.selectApp?.id || "",
+            distributorId: initialState?.currentUser?.distributorId,
             appType: initialState?.selectApp?.appType || ""
         }
         return bookId ? {