|
|
@ -122,7 +122,7 @@ public class DeptMaCodeServiceImpl extends BaseServiceImpl<DeptMaCodeDao, DeptMa |
|
|
return new Result(); |
|
|
return new Result(); |
|
|
} |
|
|
} |
|
|
String scenePrefix = "gid="; |
|
|
String scenePrefix = "gid="; |
|
|
String page = "pages/register/register"; |
|
|
String page = "pages/index/index"; |
|
|
|
|
|
|
|
|
Result<String> ossResult; |
|
|
Result<String> ossResult; |
|
|
File wxaCodeUnlimit; |
|
|
File wxaCodeUnlimit; |
|
|
@ -157,7 +157,7 @@ public class DeptMaCodeServiceImpl extends BaseServiceImpl<DeptMaCodeDao, DeptMa |
|
|
public Result createDeptMaCode(String gridId) { |
|
|
public Result createDeptMaCode(String gridId) { |
|
|
File wxaCodeUnlimit; |
|
|
File wxaCodeUnlimit; |
|
|
try { |
|
|
try { |
|
|
wxaCodeUnlimit = wxMaService.getQrcodeService().createWxaCodeUnlimit("gid=" + gridId, "pages/register/register"); |
|
|
wxaCodeUnlimit = wxMaService.getQrcodeService().createWxaCodeUnlimit("gid=" + gridId, "pages/index/index"); |
|
|
} catch (WxErrorException e) { |
|
|
} catch (WxErrorException e) { |
|
|
return new Result().error("请求微信接口失败"); |
|
|
return new Result().error("请求微信接口失败"); |
|
|
} |
|
|
} |
|
|
|