feat: remove image loading code and add README-test.md
This commit is contained in:
parent
c2906ad926
commit
1a49952293
|
|
@ -0,0 +1,4 @@
|
|||
[https://p6-img.searchpstatp.com/tos-cn-i-vvloioitz3/6e5e76d274df2efabde9194a06f97e89~tplv-vvloioitz3-6:190:124.jpeg]
|
||||
|
||||
|
||||

|
||||
|
|
@ -68,6 +68,12 @@ func (d *DingBotService) runBackgroundTasks(ctx context.Context, data *chatbot.B
|
|||
g.Go(func() error {
|
||||
// 在完成时关闭通道
|
||||
defer close(requireData.Ch)
|
||||
|
||||
//entitys.ResLoading(requireData.Ch, "", "
|
||||
//entitys.ResLoading(requireData.Ch, "", "https://p6-img.")
|
||||
//entitys.ResLoading(requireData.Ch, "", "searchpstatp.com/")
|
||||
//entitys.ResLoading(requireData.Ch, "", "tos-cn-i-vvloioitz3/ab5ae998d8162b431f44fb2a0ed9ae33~tplv-vvloioitz3-6:190:124.jpeg)")
|
||||
|
||||
return d.dingTalkBotBiz.Do(ctx, requireData)
|
||||
})
|
||||
|
||||
|
|
@ -76,7 +82,6 @@ func (d *DingBotService) runBackgroundTasks(ctx context.Context, data *chatbot.B
|
|||
g.Go(func() error {
|
||||
// 使用defer确保通道关闭
|
||||
defer close(resultDone)
|
||||
|
||||
// 处理通道中的数据
|
||||
for {
|
||||
select {
|
||||
|
|
|
|||
Loading…
Reference in New Issue