(self, raw)
| 121 | self.AddHttpTask(req.SendCommentReq2(self.bookId, data, self.cid), callBack=self.SendCommentBack) |
| 122 | |
| 123 | def SendCommentBack(self, raw): |
| 124 | try: |
| 125 | QtOwner().CloseLoading() |
| 126 | st = raw["st"] |
| 127 | if st == Status.Ok: |
| 128 | self.ClearCommentList() |
| 129 | self.commentLine.setText("") |
| 130 | self.listWidget.UpdatePage(1, 1) |
| 131 | self.LoadComment() |
| 132 | QtOwner().CheckShowMsg(raw) |
| 133 | else: |
| 134 | QtOwner().CheckShowMsg(raw) |
| 135 | |
| 136 | except Exception as es: |
| 137 | QtOwner().CloseLoading() |
| 138 | Log.Error(es) |
nothing calls this directly
no test coverage detected