liujq преди 4 години
родител
ревизия
2ce702f186
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/pagesSchool/components/indexDtl/comment/index.jsx

+ 1 - 1
src/pagesSchool/components/indexDtl/comment/index.jsx

@@ -51,7 +51,7 @@ export default class Comment extends Component {
     })
   }
   zanHandle (comment_id, flag) {
-    let apiStr = flag ? 'estatecommentunzan' : 'estatecommentzan'
+    let apiStr = flag ? 'schoolcommentunzan' : 'schoolcommentzan'
     Taro.api.house[apiStr]({
       comment_id
     }).then(res => {