Commit 24e9a2e2 by zhengxj

finish 切成趣融测试小程序 on 20191106 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@24677 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent d603b1b0
......@@ -190,6 +190,9 @@ public class MechanicController extends BaseReportController {
// JSONObject jb = wechatUtils.postMultipart(img);
String appid = PropertiesUtil.getProperty(Constants.WECHAT_MINI_MECHANIC_APPID);
String secret = PropertiesUtil.getProperty(Constants.WECHAT_MINI_MECHANIC_SECRET);
// 以下为调试代码-正式上线需要注释 TODO
appid = PropertiesUtil.getProperty("wechat.mini.appid.test");
secret = PropertiesUtil.getProperty("wechat.mini.secret.test");
Map<String, Object> key = null;
try {
key = WechatMiniUtils.getWechatMiniOpenId(appid, secret, code);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!