|
|
@@ -80,7 +80,7 @@ public class FosterwxStationController extends BaseController<FosterwxStation> {
|
|
|
if (res) {
|
|
|
FosterwxStation fosterwxStation = new FosterwxStation();
|
|
|
String response = coralApiService.getBoxToken("gh_e529abe24cce");
|
|
|
- String qrcodeUrl = wechatApiService.BuildBoxUnlimited(response, fosterwxStationService.makeBoxShareUrl(String.valueOf(addHandle.getRaw().getId()), addHandle.getRaw().getStationName()), "pages/index/index");
|
|
|
+ String qrcodeUrl = wechatApiService.BuildBoxUnlimited(response, fosterwxStationService.makeBoxShareUrl(String.valueOf(addHandle.getRaw().getId())), "pages/index/index");
|
|
|
fosterwxStation.setBoxShareUrl(qrcodeUrl);
|
|
|
fosterwxStation.setId(addHandle.getRaw().getId());
|
|
|
fosterwxStationService.updateById(fosterwxStation);
|
|
|
@@ -107,7 +107,7 @@ public class FosterwxStationController extends BaseController<FosterwxStation> {
|
|
|
@GetMapping("/test")
|
|
|
public Object test() {
|
|
|
String res = coralApiService.getBoxToken("gh_e529abe24cce");
|
|
|
- String qrcodeUrl = wechatApiService.BuildBoxUnlimited(res, "asd=123", "pages/index/index");
|
|
|
+ String qrcodeUrl = wechatApiService.BuildBoxUnlimited(res, fosterwxStationService.makeBoxShareUrl("7"), "pages/index/index");
|
|
|
return AjaxResult.success(qrcodeUrl);
|
|
|
}
|
|
|
|