- 通过卡券接口更新卡券信息,返回中文乱码如何解决?
调用微信卡券接口更新信息时,返回的错误信息乱码;然后反查卡券信息也是乱码;已经确认入参和出参都是utf-8编码 2021-09-06 17:36:30.054 [main] DEBUG feign.Logger - [] - [ftre44444] - [WxMemberCardFeignClient#updateCardInfo] ---> POST https://api.weixin.qq.com/card/update?access_token= HTTP/1.1 2021-09-06 17:36:30.054 [main] DEBUG feign.Logger - [] - [ftre44444] - [WxMemberCardFeignClient#updateCardInfo] Content-Length: 1074 2021-09-06 17:36:30.054 [main] DEBUG feign.Logger - [] - [ftre44444] - [WxMemberCardFeignClient#updateCardInfo] 2021-09-06 17:36:30.054 [main] DEBUG feign.Logger - [] - [ftre44444] - [WxMemberCardFeignClient#updateCardInfo] {"card_id":"ptAFG61S4LjbrYobZEdBdWsIO79o","member_card":{"activate_url":"http://opre-shop.selling.cn","base_info":{"brand_name":"商羚","code_type":"CODE_TYPE_TEXT","color":"Color010","description":"不可与其他优惠同享/n如需团购券发票,请向店员提出要求。","logo_url":"https://cn.bing.com/images/search?view=detailV2&ccid=5R1xwBiP&id=274496E57F3A5832EED775C21D1ABE95016AE7D5&thid=OIP.5R1xwBiPhT4D8aOV0t6T_AHaMW&mediaurl=https%3a%2f%2ftse1-mm.cn.bing.net%2fth%2fid%2fR-C.e51d71c0188f853e03f1a395d2de93fc%3frik%3d1edqAZW%252bGh3CdQ%26riu%3dhttp%253a%252f%252f222.186.12.239%253a10010%252fgez_150825%252f008.jpg%26ehk%3dEVSdOt2Zgyxc05A6%252bTc2KrQA5KnKCcjpxIpzOY7g3kk%253d%26risl%3d%26pid%3dImgRaw&exph=1800&expw=1080&q=%e5%b9%b2%e7%89%a9%e5%a6%b9%e5%b0%8f%e5%9f%8b&simid=608008605773876261&FORM=IRPRST&ck=B14951708347A7B862726A58F60422E2&selectedIndex=4&ajaxhist=0&ajaxserp=0","notice":"请出示二维码核销卡券","title":"双人套餐100元兑换券"},"prerogative":"会员卡特权尽享优惠!!!!","supply_balance":false,"supply_bonus":false}} 2021-09-06 17:36:30.054 [main] DEBUG feign.Logger - [] - [ftre44444] - [WxMemberCardFeignClient#updateCardInfo] ---> END HTTP (1074-byte body) 2021-09-06 17:36:47.173 [main] DEBUG feign.Logger - [] - [ftre44444] - [WxMemberCardFeignClient#updateCardInfo] <--- HTTP/1.1 200 OK (341ms) 2021-09-06 17:36:47.173 [main] DEBUG feign.Logger - [] - [ftre44444] - [WxMemberCardFeignClient#updateCardInfo] connection: keep-alive 2021-09-06 17:36:47.173 [main] DEBUG feign.Logger - [] - [ftre44444] - [WxMemberCardFeignClient#updateCardInfo] content-length: 220 2021-09-06 17:36:47.173 [main] DEBUG feign.Logger - [] - [ftre44444] - [WxMemberCardFeignClient#updateCardInfo] content-type: application/json; encoding=utf-8 2021-09-06 17:36:47.173 [main] DEBUG feign.Logger - [] - [ftre44444] - [WxMemberCardFeignClient#updateCardInfo] date: Mon, 06 Sep 2021 09:36:30 GMT 2021-09-06 17:36:47.173 [main] DEBUG feign.Logger - [] - [ftre44444] - [WxMemberCardFeignClient#updateCardInfo] 2021-09-06 17:36:47.175 [main] DEBUG feign.Logger - [] - [ftre44444] - [WxMemberCardFeignClient#updateCardInfo] {"errcode":47001,"errmsg":"data format error hint: [ExrwLA0990r279] Error before \":\"??\",\"code_type\":\"CODE_TYPE_TEXT\",\"color\":\"Color010\",\"description\":\"?????????\/n?????????????????\",\"logo_url\":\"htt..."} 2021-09-06 17:36:47.175 [main] DEBUG feign.Logger - [] - [ftre44444] - [WxMemberCardFeignClient#updateCardInfo] <--- END HTTP (220-byte body) 错误是品牌名称不能修改,但是返回数据已经是乱码了。 更新会员卡接口 https://api.weixin.qq.com/card/update?access_token=TOKEN 查看卡券接口 https://api.weixin.qq.com/card/get?access_token=TOKEN
2021-09-06 - 【企微】【发送新客户欢迎语】发送图片和视频欢迎语,返回消息提示成功,但是并没有发送
当设置的是图片/视频的时候,调用接口发送,返回成功,但是客户并没有接到。 2021-06-19 16:14:28.806 [http-nio-8001-exec-8] DEBUG feign.Logger - [1001750.1000814.16240904680970230] - [] - [WorkWxCustomerAccessTokenFeignClient#sendWelcomeMsg] ---> POST https://qyapi.weixin.qq.com/cgi-bin/externalcontact/send_welcome_msg?access_token= HTTP/1.1 2021-06-19 16:14:28.806 [http-nio-8001-exec-8] DEBUG feign.Logger - [1001750.1000814.16240904680970230] - [] - [WorkWxCustomerAccessTokenFeignClient#sendWelcomeMsg] {"attachments":[{"msgtype":"video","video":{"media_id":"3CjmvilKtgZxj5ABWktaRmeMhOywoSONFvNUc2WCzIcB1U-vkdf4uTadUtQh5hY-t"}}],"text":{"content":"文案"},"welcome_code":"mle5WCfc1H-ZLXeNqw7oR6eRlceYvrwWuTFtPXIBM1M"} 2021-06-19 16:14:28.904 [http-nio-8001-exec-8] DEBUG feign.Logger - [1001750.1000814.16240904680970230] - [] - [WorkWxCustomerAccessTokenFeignClient#sendWelcomeMsg] {"errcode":0,"errmsg":"ok"} 2021-06-19 16:14:28.904 [http-nio-8001-exec-8] INFO c.j.j.h.s.d.w.service.impl.WorkWxDomainServiceImpl - [1001750.1000814.16240904680970230] - [] - 发送 发送新客户欢迎语 到企微完成, 结果 = {"errcode":0,"errmsg":"ok"} 2021-06-19 16:12:47.738 [http-nio-8001-exec-3] DEBUG feign.Logger - [1001750.1000814.16240903660040142] - [] - [WorkWxCustomerAccessTokenFeignClient#sendWelcomeMsg] ---> POST https://qyapi.weixin.qq.com/cgi-bin/externalcontact/send_welcome_msg?access_token= HTTP/1.1 2021-06-19 16:12:47.739 [http-nio-8001-exec-3] DEBUG feign.Logger - [1001750.1000814.16240903660040142] - [] - [WorkWxCustomerAccessTokenFeignClient#sendWelcomeMsg] {"attachments":[{"image":{"pic_url":"https://wework.qpic.cn/wwpic/950447_v7CSSrysRw-0uwg_1624088527/0"},"msgtype":"image"}],"text":{"content":"架飞机看哈开发和"},"welcome_code":"3xzxPTsFgLkhBwFPDKzJUI3JvN1U0ZwHHmyr1BHgaK4"} 2021-06-19 16:12:47.874 [http-nio-8001-exec-3] DEBUG feign.Logger - [1001750.1000814.16240903660040142] - [] - [WorkWxCustomerAccessTokenFeignClient#sendWelcomeMsg] {"errcode":0,"errmsg":"ok"} 2021-06-19 16:12:47.881 [http-nio-8001-exec-3] INFO c.j.j.h.s.d.w.service.impl.WorkWxDomainServiceImpl - [1001750.1000814.16240903660040142] - [] - 发送 发送新客户欢迎语 到企微完成, 结果 = {"errcode":0,"errmsg":"ok"} 请帮看下,是有什么地方不对的吗
2021-06-19 - [文档和接口不符]获取订单下售后单,不回显状态字段
https://developers.weixin.qq.com/miniprogram/dev/framework/ministore/minishopopencomponent2/API/aftersale/get.html 示例: [图片] 结果: [图片]
2021-04-21