- 搜一搜服务,审核一直不通过,修改多次都是同样的回复,请问可以给出具体的描述么?
审核不通过提示的原因一直是无预约相关服务,可是我们的落地页明明是有提交预约的表单,并且我们是按照指引和参考已发布成功的案例做的。烦请官方给到一些具体的提示,非常感谢。 #审核结果截图 [图片] #我方落地页截图 [图片][图片]
2021-07-30 - wx.addCard 卡券添加显示签名错误
wx.addCard能够正常显示卡卷,但是领取按钮显示 “签名错误” 签名算法如下:[代码]public[代码] [代码]function[代码] [代码]getCard([代码][代码]$card_id[代码][代码],[代码][代码]$sessionId[代码][代码]){[代码][代码] [代码][代码]//获取openid[代码][代码] [代码][代码]$openid[代码] [代码]= [代码][代码]$this[代码][代码]->openId([代码][代码]$sessionId[代码][代码]);[代码][代码] [代码][代码]//获取ticket[代码][代码] [代码][代码]$res[代码] [代码]= [代码][代码]$this[代码][代码]->getApiTicket();[代码] [代码] [代码][代码]//生成签名[代码][代码] [代码][代码]$now[代码] [代码]=time();[代码][代码] [代码][代码]$timestamp[代码] [代码]= [代码][代码]$now[代码][代码];[代码][代码] [代码][代码]$nonceStr[代码] [代码]= [代码][代码]$this[代码][代码]->createNonceStr(8);[代码][代码] [代码][代码]$arr[代码] [代码]= [代码][代码]array[代码][代码]([代码][代码]$card_id[代码][代码],[代码][代码]$res[代码][代码][[代码][代码]'ticket'[代码][代码]],[代码][代码]$nonceStr[代码][代码],[代码][代码]$openid[代码][代码],[代码][代码]$timestamp[代码][代码]);[代码][代码]//组装参数[代码][代码] [代码][代码]asort([代码][代码]$arr[代码][代码], SORT_STRING);[代码][代码] [代码][代码]$sortString[代码] [代码]= [代码][代码]""[代码][代码];[代码][代码] [代码][代码]foreach[代码][代码]([代码][代码]$arr[代码] [代码]as[代码] [代码]$temp[代码][代码]){[代码][代码] [代码][代码]$sortString[代码] [代码]= [代码][代码]$sortString[代码][代码].[代码][代码]$temp[代码][代码];[代码][代码] [代码][代码]}[代码][代码] [代码][代码]$signature[代码] [代码]= sha1([代码][代码]$sortString[代码][代码]);[代码] [代码] [代码][代码]$card[代码] [代码]= [代码][代码]array[代码][代码]([代码][代码] [代码][代码]'timestamp'[代码] [代码]=> [代码][代码]$timestamp[代码][代码],[代码][代码] [代码][代码]'signature'[代码] [代码]=> [代码][代码]$signature[代码][代码],[代码][代码] [代码][代码]'cardId'[代码] [代码]=> [代码][代码]$card_id[代码][代码],[代码][代码] [代码][代码]'ticket'[代码] [代码]=> [代码][代码]$res[代码][代码][[代码][代码]'ticket'[代码][代码]],[代码][代码] [代码][代码]'nonce_str'[代码] [代码]=> [代码][代码]$nonceStr[代码][代码] [代码][代码]);[代码][代码] [代码][代码]return[代码] [代码]$card[代码][代码];[代码][代码] [代码][代码]}[代码] 小程序js [代码]wx.request({[代码][代码] [代码][代码]url: url + [代码][代码]'/api/app/getAppCard'[代码][代码],[代码][代码] [代码][代码]data:{[代码][代码] [代码][代码]session_id : sessionId,[代码][代码] [代码][代码]card_id: [代码][代码]'pwJno0xiCS3HfuSpQoJtTCtEXODU'[代码][代码] [代码][代码]},[代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]var[代码] [代码]card_info = res.data.cardArray[代码][代码] [代码][代码]console.log(res.data.cardArray)[代码][代码] [代码][代码]wx.addCard({[代码][代码] [代码][代码]cardList: [[代码][代码] [代码][代码]{[代码][代码] [代码][代码]cardId: card_info.cardId,[代码][代码] [代码][代码]cardExt: [代码][代码]'{"code": "", "openid": "", "timestamp": "'[代码][代码]+card_info.timestamp+[代码][代码]'", "signature":"'[代码][代码]+card_info.signature+[代码][代码]'"}'[代码][代码] [代码][代码]}[代码][代码] [代码][代码]],[代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log(res) [代码][代码]// 卡券添加结果[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log(res)[代码][代码] [代码][代码]},[代码][代码] [代码][代码]complete: [代码][代码]function[代码][代码](res)[代码][代码] [代码][代码]{[代码][代码] [代码][代码]console.log(res)[代码][代码] [代码][代码]}[代码][代码] [代码][代码]})[代码][代码] [代码][代码]}[代码][代码] [代码][代码]})[代码]
2017-09-16