|
|
@@ -74,12 +74,12 @@ public class ShareController {
|
|
|
* @return
|
|
|
*/
|
|
|
@GetMapping("/pc")
|
|
|
- public String getPcUrl(String basePath, String companyName, @RequestParam(value = "delay", defaultValue = "1")Long delay){
|
|
|
+ public Result getPcUrl(String basePath, String companyName, @RequestParam(value = "delay", defaultValue = "1")Long delay){
|
|
|
Long companyId = BaseContextHolder.getCompanyId();
|
|
|
String username = BaseContextHolder.getUserName();
|
|
|
String params = "username=" + username + "&companyId=" + companyId + "×tamp=" + new Date().getTime() + "&delay=" + delay + "&companyName=" + companyName;
|
|
|
String encodeParams = new String(UrlBase64.encode(params.getBytes()));
|
|
|
- return basePath + "/#/invitation" + "?param=" + encodeParams;
|
|
|
+ return Result.success(basePath + "/#/invitation" + "?param=" + encodeParams);
|
|
|
}
|
|
|
|
|
|
/**
|