this.$httpV2.post(`/cl-wechat/wechat/cp/welcome/messages/external/user?wechatAppId=${this.config.wechatAppId}&typeGroup=${this.typeGroup}`).then(async res => {
let list = _.get(res, 'data', [])
this.pagination.total = list.length
for (let i = 0; i < list.length; i++) {
let it = list[i]
if (it.cpMediaId) {
let url = await this.handleMediaUrl(it.cpMediaId)
it.url = url
}
it.title = this.nameMap[it.type]
it.sceneName = this.sceneMap[it.sceneType]
}
this.tableData = list
this.loading = false
})