|
@@ -418,11 +418,18 @@ public class MiniAppController extends BaseController {
|
418
|
418
|
map.put("openId", person.getMiniOpenid());
|
419
|
419
|
map.put("orgId", person.getOrgId());
|
420
|
420
|
map.put("personId", person.getPersonId());
|
421
|
|
- miniResp.put("token", JWTUtils.newTokenByMap(map));
|
|
421
|
+ String token = JWTUtils.newTokenByMap(map);
|
|
422
|
+ miniResp.put("token", token);
|
|
423
|
+ sysTokenService.saveToken(token);
|
|
424
|
+
|
|
425
|
+ Map<String, Object> extraInfo = new HashMap<>();
|
|
426
|
+ TdCity tdCity = iTdCityService.getLocationCity(null, person.getOrgId(), null);
|
422
|
427
|
|
423
|
428
|
Map<String, Object> result = new HashMap<>();
|
424
|
429
|
result.put("miniApp", miniResp);
|
425
|
430
|
result.put("person", person);
|
|
431
|
+ result.put("extraInfo", extraInfo);
|
|
432
|
+ result.put("city", tdCity);
|
426
|
433
|
|
427
|
434
|
return ResponseBean.success(result);
|
428
|
435
|
}
|