Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

你好,请问这套sdk里面不包含 api里面需要的加密数据解密算法 吗? #3

Open
tianhuo1990 opened this issue Jan 19, 2018 · 9 comments

Comments

@tianhuo1990
Copy link

也就是官方的wxBizDataCrypt.php

@kulokai
Copy link
Owner

kulokai commented Jan 19, 2018

目前还没有,这是个完善计划

@lb491798689
Copy link

这个SDK有掉用成功的吗?为什么我加载之后,根本没法使用,从weapp就开始报错?

@kulokai
Copy link
Owner

kulokai commented Jan 19, 2018

报什么错误可以提供一下么?你的包有更新版本么,以前的包确实存在命名空间的问题

@lb491798689
Copy link

你好,我用的是yii2框架,调用sdk的时候,会提示不能调用weapp里面的getTemplateMsg方法,请问是不是$templateMsg = $weapp.getTemplateMsg();里面的点号造成的。

@lb491798689
Copy link

_20180119190353

@lb491798689
Copy link

麻烦帮我看一下,谢谢!

@kulokai
Copy link
Owner

kulokai commented Jan 22, 2018

抱歉不好意思,我文档写错了,php不是通过“.”来调用方法应该是“->”;
$templateMsg = $weapp.getTemplateMsg();
应该改成:
$templateMsg = $weapp->getTemplateMsg();
非常抱歉,这就修改文档错误

@lb491798689
Copy link

谢谢,sdk没问题的,我用的时候出现的问题是没有设置正确的缓存路径导致的,非常感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@kulokai @lb491798689 @tianhuo1990 and others