光环助手V5.0.0-新社区展示功能(0628 产品测试问题4) https://git.ghzs.com/pm/halo-app-issues/-/issues/1253

This commit is contained in:
jack
2021-06-29 09:40:25 +08:00
parent 88041d9b5f
commit e3f553a96f

View File

@ -243,14 +243,7 @@ class QuestionEditViewModel(application: Application) : BaseRichEditorViewModel(
tagsJson.put("tags", JSONArray(selectedTags))
tagsJson.toString()
} else {
val entity = QuestionsDetailEntity()
entity.title = title
entity.description = content
entity.type = type
entity.gameId = gameEntity?.id ?: ""
entity.tagActivityId = selectActivityLabelEntity?.id ?: ""
entity.tagActivityName = selectActivityLabelEntity?.name ?: ""
GsonUtils.toJson(entity)
getRequestParams().toJson()
}
processDialog.postValue(WaitingDialogFragment.WaitingDialogData("提交中...", true))