星海扬帆
星海扬帆
  • 发布:2023-05-12 23:18
  • 更新:2023-05-12 23:18
  • 阅读:145

【uni-pay求助】回调配置到了uni-pay-co上,http来后触发checktoken报错

分类:uni-app

回调为http post访问,没有token。都应该会执行到_before中的this.middleware.auth(false),这句中的this.uniIdCommon.checkToken(token)中会找匹配当前客户端appid的config,但外来的http访问哪里有appid,就抛了异常:
Error: Config for current app (undefined) was not found, please check your config file or client appId
这个绕不开啊,难道使用unipay的都没出问题?哪里配置出错了?

2023-05-12 23:18 负责人:无 分享
已邀请:

要回复问题请先登录注册