Commit 2dec25b6 by zhengxj

finish 切换到包活干小程序 on 20191120 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@25015 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent ed38a436
...@@ -344,8 +344,8 @@ public class WechatUtils { ...@@ -344,8 +344,8 @@ public class WechatUtils {
String appid = PropertiesUtil.getProperty(Constants.WECHAT_MINI_MECHANIC_APPID); String appid = PropertiesUtil.getProperty(Constants.WECHAT_MINI_MECHANIC_APPID);
String secret = PropertiesUtil.getProperty(Constants.WECHAT_MINI_MECHANIC_SECRET); String secret = PropertiesUtil.getProperty(Constants.WECHAT_MINI_MECHANIC_SECRET);
// 生成二维码只能跳正式页面,所以测试环境暂时跳转到趣融,正式正式环境需要注释下面两行代码/////TODO // 生成二维码只能跳正式页面,所以测试环境暂时跳转到趣融,正式正式环境需要注释下面两行代码/////TODO
appid = "wxb947dfc134eadbc4"; // appid = "wxb947dfc134eadbc4";
secret = "9cbe8bab22f3b38ec9f0cb373a547516"; // secret = "9cbe8bab22f3b38ec9f0cb373a547516";
// 技工注册的跳转页面 // 技工注册的跳转页面
String page = "pages/register/register"; String page = "pages/register/register";
......
...@@ -173,8 +173,8 @@ public class MechanicController extends BaseReportController { ...@@ -173,8 +173,8 @@ public class MechanicController extends BaseReportController {
String appid = PropertiesUtil.getProperty(Constants.WECHAT_MINI_MECHANIC_APPID); String appid = PropertiesUtil.getProperty(Constants.WECHAT_MINI_MECHANIC_APPID);
String secret = PropertiesUtil.getProperty(Constants.WECHAT_MINI_MECHANIC_SECRET); String secret = PropertiesUtil.getProperty(Constants.WECHAT_MINI_MECHANIC_SECRET);
// 以下为调试代码-正式上线需要注释 TODO // 以下为调试代码-正式上线需要注释 TODO
appid = PropertiesUtil.getProperty("wechat.mini.appid.test"); // appid = PropertiesUtil.getProperty("wechat.mini.appid.test");
secret = PropertiesUtil.getProperty("wechat.mini.secret.test"); // secret = PropertiesUtil.getProperty("wechat.mini.secret.test");
Map<String, Object> key = null; Map<String, Object> key = null;
try { try {
key = WechatMiniUtils.getWechatMiniOpenId(appid, secret, code); 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!