- 【搜索Widget-自定义模板】时效性较强的【航班预订服务】上线审核不通过,搜索query无法召回?
微信小程序自定义模板【航班预订服务】已经开发完成,并通过了性能测试和展示效果测试。 目前提交上线流程时审核不通过,提示的是 :搜索query无法召回,{ "err_code": -1, "err_msg": "无结果" }这个是你们的返回,请自行调试。 [图片] 我们小程序提供的都是自己航空公司的航线的数据,对于有些航线是没有数据的,而且机票信息也是时效性很高的数据,可能当天的机票已经卖完,出现查询时返回数据为空(按照文档规定返回 err_code 为 -1)的情况。 请问这种情况会导致上线审核不通过吗?而且可以明确点说明具体的搜索词是什么吗?
2020-01-07 - 【搜索Widget-自定义模板】本地压力测试时可以达到标准,但是多次提交压测时都是未通过,为什么?
按照流程开发微信搜一搜的自定义模板【航班查询服务】,到提交性能测环节,但是多次提交都是审核未通过,主要原因有: 请求失败过多,压测异常中止。请确保服务稳定后再试。[图片]1s以上的请求比例超过1% [图片] 主要是第一种原因,偶尔也会有第二种情况。但是通过 nginx 日志看没有超过1s 以上的请求,而且本地自测试时也可以达到要求的: [图片] [图片] 请帮忙看下具体是什么原因导致了审核不通过。 公众号appid: wxda88b151885fffbb 小程序appid: wx5e0b801b20f31d7f
2020-01-06 - 【搜索Widget-自定义模板】展示效果测试审核不通过,提示搜索无结果应返回-1?
微信小程序自定义模板的【航班查询服务】和【航班预订服务】的展示效果测试提交审核时, 微信官网给的结果是审核不通过,不通过的理由是:搜索无结果,应返回-1,如下图: [图片] 但是目前在搜索不到结果情况下,返回给微信的数据中 err_code 已经是 -1 了,提交两次都是这个原因没有审核通过! 通过日志查询这次的返回信息截图如下: [图片] 具体的返回信息如下: {"Content":"{\"data\"\"\\\"err_code\\\":-1,\\\"err_msg\\\"\\\"无结果\\\"\\\"jump_url\\\"\\\"pages/ticket/list/switch?dep=KHN&arr=ZUH&deptime=2020-01-03\\\"\\\"update_time\\\"\\\"出发日期: 2020-01-03\\\"\"\"lifespan\":60,\"query\"\"\\\"type\\\":10,\\\"slot_list\\\":[{\\\"key\\\"\\\"date\\\"\\\"value\\\"\\\"2020-01-03\\\"},{\\\"key\\\"\\\"from_city\\\"\\\"value\\\"\\\"南昌市\\\"},{\\\"key\\\"\\\"search_date\\\"\\\"value\\\"\\\"2020-01-03\\\"},{\\\"key\\\"\\\"to_city\\\"\\\"value\\\"\\\"珠海市\\\"}],\\\"search_id\\\"\\\"107834146096504318\\\"\"\"scene\":1}","CreateTime":1578049874,"FromUserName":"gh_7e6a41181ab7","MsgType":"widget_data","ToUserName":"o1DsJ0YKvmAAeABK3VrFyPx91TXc"} 请各位路过的大神和官方人员看下,在搜索没有结果的请况下,这样的返回信息是否符合要求。 如果不符合要求,请指正具体哪里不符合要求;如果符合要求,为什么审核又不给通过呢? 公众号appid: wxda88b151885fffbb 小程序appid: wx5e0b801b20f31d7f
2020-01-06 - 【服务直达】搜一搜自定义模板提交压测一直提示“请求失败过多,压测异常中止。请确保服务稳定后再试”?
按照流程开发微信搜一搜的自定义模板【航班预订服务】,到提交性能测环节,但是提交两次都是提示“请求失败过多,压测异常中止。请确保服务稳定后再试。 [图片] 自测时候使用 jmeter工具 200 个线程并发测试半小时,结果是可以达到要求标准的。 [图片] 请问微信测试的时候是以什么样的方式压测的,并发数是多少? 怎么算是失败?返回空数据的(err_code:-1)是否算失败?因为我们小程序主要提供的是山东航空的航线机票数据,如果查询的城市中山东航空没有航线则会返回空数据的(err_code码为 -1)。 具体提交测试的大概时间段: 第一次:2019-12-30 14:00~14:30 第二次:2019-12-30 17:30~18:00 公众号appid:wxda88b151885fffbb 小程序appid:wx5e0b801b20f31d7f
2019-12-30 - 【服务直达】航班查询服务直达导入抽样数据的文档描述与在线文档描述不一致,该使用哪个?
【航班查询服务】导入抽样数据的文档和线上模板总览里面的文档里面描述的query.type 不一样,下载的文档中 type 为 100004,在线文档的 type 为 100002。如下图: 在线文档中 type 的定义: [图片] 下载文档中 type 的定义: [图片] 使用下载的文档 type(100004)导入会报错:"errcode":-2,"errmsg":"Fail catch unknown field \"flight_number\", Error before \":\"SC4621\"} ...., 使用 type 为 100002 导入时可以导入成功。 所以目前是使用在线文档中的 type(100002)导入的,但是现在使用真机测试时不会有请求发送到配制的测试链接地址。 请确认下是不是这个原因导致的,如果是这个原因导致的,麻烦解决下不能按照 100004 导入的问题;如果不是这个原因导致的,请看下具体是什么原因导致的? 小程序的消息通知已配制完成,微信公众号后台也已经在自定义模板开发中配制了测试链接地址。 公众号appid: wxda88b151885fffbb 小程序appid: wx5e0b801b20f31d7f 航班查询服务导入数据协议文档.md 下载地址:blob:https://wsad.weixin.qq.com/8d6910c9-33d0-4795-94f3-63f2ecde6895 在线文档的地址:https://wsad.weixin.qq.com/wsad/zh_CN/htmledition/widget-categories/html/categories/3/import_protocol.html
2019-12-25 - 【服务直达】小程序widget搜索真机测试为什么没有发送请求到配置的测试链接地址?
目前在开发微信服务直达搜索(小程序 widget 事件)的航班查询自定义服务和航班预订自定义服务,抽样数据导入已审核通过。 接口服务也已开发完成,并通过微信公众平台接口调试工具发送【小程序 widget 事件消息】可以有正常的返回信息,如下图: [图片] 其中 Query为: "type""slot_list":[{"key""search_date""value""2019-12-25"},{"key""flight_number""value""SC1152"}]} [图片] 返回的具体信息: {"Content":"{\"err_code\":0,\"err_msg\":\"成功\",\"flight_update_time\":\"1224日 1059\",\"jump_url\":\"pages/flight_dynamics/info/detail?fnum=SC1152&date2019-12-25&fnumsearch=&arr=&dep=\"}","CreateTime":1577156357,"FromUserName":"gh_6ad1513a84d8","MsgType":"widget_data","ToUserName":"oHiD1v9MzTFE4f2lLasf123E1QJ0"} 小程序的消息配置还没有配置,但在公众号的自定义模板中已经配置了后台测试接口地址。 使用小程序体验名单中的人员在真机上搜一搜搜索导入的抽样数据,如【SC1152】,看测试接口的日志并没有发现有请求过来,请帮忙查看具体是什么原因。 公众号appid:wxda88b151885fffbb 小程序appid:wx5e0b801b20f31d7f
2019-12-24 - 【服务直达】航班动态模板接口的抽样数据审核有什么问题?
在开发小程序服务直达(微信搜一搜)功能时,在导入抽样数据环节时,提示的审核不通过,具体信息如下: 导入数据格式有误,请根据文档重新提交。无数据,请自行调试。 但是,仔细对比了文档中给出的样例数据格式也是正确的,请帮忙看下具体是哪里的数据格式有问题,具体导入的抽样数据如下: 航班查询服务自定义模板: 【请求地址】: https://api.weixin.qq.com/wxa/setdynamicdata?access_token= 【请求参数】:{"data":"{\"attribute\":{\"count\":456,\"id\":\"3813bf501ee6417ca4890aa7bbe518d5\",\"seq\":0,\"totalcount\":456},\"items\":[{\"flight_number\":\"SC1179\"},{\"flight_number\":\"SC2109\"},{\"flight_number\":\"SC2126\"},{\"flight_number\":\"SC2132\"},{\"flight_number\":\"SC4610\"},{\"flight_number\":\"SC4619\"},{\"flight_number\":\"SC4621\"},{\"flight_number\":\"SC4636\"},{\"flight_number\":\"SC4663\"},{\"flight_number\":\"SC4666\"},{\"flight_number\":\"SC4669\"},{\"flight_number\":\"SC4786\"},{\"flight_number\":\"SC4789\"},{\"flight_number\":\"SC4795\"},{\"flight_number\":\"SC4861\"},{\"flight_number\":\"SC4707\"},{\"flight_number\":\"SC4708\"},{\"flight_number\":\"SC4709\"},{\"flight_number\":\"SC4713\"},{\"flight_number\":\"SC4715\"},{\"flight_number\":\"SC4721\"},{\"flight_number\":\"SC4723\"},{\"flight_number\":\"SC4730\"},{\"flight_number\":\"SC4758\"},{\"flight_number\":\"SC4761\"},{\"flight_number\":\"SC4769\"},{\"flight_number\":\"SC2161\"},{\"flight_number\":\"SC2162\"},{\"flight_number\":\"SC2265\"},{\"flight_number\":\"SC3071\"},{\"flight_number\":\"SC4077\"},{\"flight_number\":\"SC4086\"},{\"flight_number\":\"SC4087\"},{\"flight_number\":\"SC4608\"},{\"flight_number\":\"SC4949\"},{\"flight_number\":\"SC4950\"},{\"flight_number\":\"SC4958\"},{\"flight_number\":\"SC4964\"},{\"flight_number\":\"SC4969\"},{\"flight_number\":\"SC4987\"},{\"flight_number\":\"SC4989\"},{\"flight_number\":\"SC4990\"},{\"flight_number\":\"SC8006\"},{\"flight_number\":\"SC8035\"},{\"flight_number\":\"SC8078\"},{\"flight_number\":\"SC8433\"},{\"flight_number\":\"SC8724\"},{\"flight_number\":\"SC8733\"},{\"flight_number\":\"SC8769\"},{\"flight_number\":\"SC8775\"},{\"flight_number\":\"SC8819\"},{\"flight_number\":\"SC8823\"},{\"flight_number\":\"SC8844\"},{\"flight_number\":\"SC8862\"},{\"flight_number\":\"SC8865\"},{\"flight_number\":\"SC8879\"},{\"flight_number\":\"SC4884\"},{\"flight_number\":\"SC4915\"},{\"flight_number\":\"SC4931\"},{\"flight_number\":\"SC1155\"},{\"flight_number\":\"SC1169\"},{\"flight_number\":\"SC1187\"},{\"flight_number\":\"SC4641\"},{\"flight_number\":\"SC4665\"},{\"flight_number\":\"SC4676\"},{\"flight_number\":\"SC4681\"},{\"flight_number\":\"SC4695\"},{\"flight_number\":\"SC4800\"},{\"flight_number\":\"SC4804\"},{\"flight_number\":\"SC4810\"},{\"flight_number\":\"SC4837\"},{\"flight_number\":\"SC4847\"},{\"flight_number\":\"SC4855\"},{\"flight_number\":\"SC4856\"},{\"flight_number\":\"SC4714\"},{\"flight_number\":\"SC4716\"},{\"flight_number\":\"SC4724\"},{\"flight_number\":\"SC2180\"},{\"flight_number\":\"SC2195\"},{\"flight_number\":\"SC2246\"},{\"flight_number\":\"SC2282\"},{\"flight_number\":\"SC4079\"},{\"flight_number\":\"SC4091\"},{\"flight_number\":\"SC4097\"},{\"flight_number\":\"SC4605\"},{\"flight_number\":\"SC4943\"},{\"flight_number\":\"SC4944\"},{\"flight_number\":\"SC4957\"},{\"flight_number\":\"SC8008\"},{\"flight_number\":\"SC8041\"},{\"flight_number\":\"SC8042\"},{\"flight_number\":\"SC8093\"},{\"flight_number\":\"SC8429\"},{\"flight_number\":\"SC8430\"},{\"flight_number\":\"SC8750\"},{\"flight_number\":\"SC8751\"},{\"flight_number\":\"SC8753\"},{\"flight_number\":\"SC8758\"},{\"flight_number\":\"SC8784\"},{\"flight_number\":\"SC8795\"},{\"flight_number\":\"SC8812\"},{\"flight_number\":\"SC8837\"},{\"flight_number\":\"SC8859\"},{\"flight_number\":\"SC4871\"},{\"flight_number\":\"SC4902\"},{\"flight_number\":\"SC4904\"},{\"flight_number\":\"SC4905\"},{\"flight_number\":\"SC4922\"},{\"flight_number\":\"SC1152\"},{\"flight_number\":\"SC1156\"},{\"flight_number\":\"SC1157\"},{\"flight_number\":\"SC1161\"},{\"flight_number\":\"SC1173\"},{\"flight_number\":\"SC1178\"},{\"flight_number\":\"SC1182\"},{\"flight_number\":\"SC1183\"},{\"flight_number\":\"SC1191\"},{\"flight_number\":\"SC1194\"},{\"flight_number\":\"SC2140\"},{\"flight_number\":\"SC4622\"},{\"flight_number\":\"SC4623\"},{\"flight_number\":\"SC4631\"},{\"flight_number\":\"SC4649\"},{\"flight_number\":\"SC4655\"},{\"flight_number\":\"SC4668\"},{\"flight_number\":\"SC4670\"},{\"flight_number\":\"SC4691\"},{\"flight_number\":\"SC4794\"},{\"flight_number\":\"SC4814\"},{\"flight_number\":\"SC4815\"},{\"flight_number\":\"SC4838\"},{\"flight_number\":\"SC4840\"},{\"flight_number\":\"SC4845\"},{\"flight_number\":\"SC4852\"},{\"flight_number\":\"SC4862\"},{\"flight_number\":\"SC4711\"},{\"flight_number\":\"SC4712\"},{\"flight_number\":\"SC4727\"},{\"flight_number\":\"SC4742\"},{\"flight_number\":\"SC4756\"},{\"flight_number\":\"SC4774\"},{\"flight_number\":\"SC4775\"},{\"flight_number\":\"SC2181\"},{\"flight_number\":\"SC2182\"},{\"flight_number\":\"SC2185\"},{\"flight_number\":\"SC4081\"},{\"flight_number\":\"SC4085\"},{\"flight_number\":\"SC4601\"},{\"flight_number\":\"SC4602\"},{\"flight_number\":\"SC4971\"},{\"flight_number\":\"SC4972\"},{\"flight_number\":\"SC4988\"},{\"flight_number\":\"SC8033\"},{\"flight_number\":\"SC8045\"},{\"flight_number\":\"SC8046\"},{\"flight_number\":\"SC8410\"},{\"flight_number\":\"SC8445\"},{\"flight_number\":\"SC8446\"},{\"flight_number\":\"SC8734\"},{\"flight_number\":\"SC8749\"},{\"flight_number\":\"SC8811\"},{\"flight_number\":\"SC8821\"},{\"flight_number\":\"SC8827\"},{\"flight_number\":\"SC8836\"},{\"flight_number\":\"SC8838\"},{\"flight_number\":\"SC8860\"},{\"flight_number\":\"SC8861\"},{\"flight_number\":\"SC4875\"},{\"flight_number\":\"SC4910\"},{\"flight_number\":\"SC4920\"},{\"flight_number\":\"SC4928\"},{\"flight_number\":\"SC1174\"},{\"flight_number\":\"SC1175\"},{\"flight_number\":\"SC1181\"},{\"flight_number\":\"SC1189\"},{\"flight_number\":\"SC1190\"},{\"flight_number\":\"SC1192\"},{\"flight_number\":\"SC2156\"},{\"flight_number\":\"SC4624\"},{\"flight_number\":\"SC4632\"},{\"flight_number\":\"SC4634\"},{\"flight_number\":\"SC4651\"},{\"flight_number\":\"SC4652\"},{\"flight_number\":\"SC4658\"},{\"flight_number\":\"SC4661\"},{\"flight_number\":\"SC4662\"},{\"flight_number\":\"SC4675\"},{\"flight_number\":\"SC4684\"},{\"flight_number\":\"SC4698\"},{\"flight_number\":\"SC4793\"},{\"flight_number\":\"SC4803\"},{\"flight_number\":\"SC4843\"},{\"flight_number\":\"SC4866\"},{\"flight_number\":\"SC4722\"},{\"flight_number\":\"SC4735\"},{\"flight_number\":\"SC4755\"},{\"flight_number\":\"SC4757\"},{\"flight_number\":\"SC4763\"},{\"flight_number\":\"SC4770\"},{\"flight_number\":\"SC4088\"},{\"flight_number\":\"SC4092\"},{\"flight_number\":\"SC4096\"},{\"flight_number\":\"SC4603\"},{\"flight_number\":\"SC4942\"},{\"flight_number\":\"SC4961\"},{\"flight_number\":\"SC4962\"},{\"flight_number\":\"SC8723\"},{\"flight_number\":\"SC8735\"},{\"flight_number\":\"SC8737\"},{\"flight_number\":\"SC8757\"},{\"flight_number\":\"SC8783\"},{\"flight_number\":\"SC8793\"},{\"flight_number\":\"SC8796\"},{\"flight_number\":\"SC8818\"},{\"flight_number\":\"SC8820\"},{\"flight_number\":\"SC8835\"},{\"flight_number\":\"SC8841\"},{\"flight_number\":\"SC8897\"},{\"flight_number\":\"SC4880\"},{\"flight_number\":\"SC4889\"},{\"flight_number\":\"SC4901\"},{\"flight_number\":\"SC4921\"},{\"flight_number\":\"SC1167\"},{\"flight_number\":\"SC2107\"},{\"flight_number\":\"SC2108\"},{\"flight_number\":\"SC2129\"},{\"flight_number\":\"SC2139\"},{\"flight_number\":\"SC4611\"},{\"flight_number\":\"SC4618\"},{\"flight_number\":\"SC4635\"},{\"flight_number\":\"SC4643\"},{\"flight_number\":\"SC4654\"},{\"flight_number\":\"SC4656\"}]}","lifespan":31536000,"query":"{\"type\":100002}","scene":1} 【响应数据】:{"errcode":0,"errmsg":"ok"} 由于数据较多上传不全,上面的 items 内容部分内容删除了,但格式是完成的。 请求时间:2019-12-16 微信公众号appid: wxda88b151885fffbb 微信小程序appid: wx5e0b801b20f31d7f
2019-12-23