liujq %!s(int64=4) %!d(string=hai) anos
pai
achega
2ce702f186
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 => {