From a0c9011d1cdbb68aa4897237f63826a2f21e995b Mon Sep 17 00:00:00 2001 From: jiangyong Date: Sun, 27 Aug 2023 16:17:32 +0800 Subject: [PATCH] fixbug --- worker/haha/haha_sync_order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/haha/haha_sync_order.go b/worker/haha/haha_sync_order.go index c7a80c4..a783fc4 100644 --- a/worker/haha/haha_sync_order.go +++ b/worker/haha/haha_sync_order.go @@ -68,7 +68,7 @@ func (s *SyncOrder) run() { return } - cipherText := cast.ToSlice(result["data"]) + cipherText := cast.ToString(result["data"]) datas, err := common.Decrypt(cipherText, s.token) if err != nil { log.Errorf("common.Decrypt error :%s", err.Error())