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 => {