Selaa lähdekoodia

Merge branch 'develop' of http://git.ycjcjy.com/marketing/services into develop

傅行帆 3 vuotta sitten
vanhempi
commit
225a01804e

+ 8
- 1
src/main/java/com/yunzhi/marketing/controller/MiniAppController.java Näytä tiedosto

418
         map.put("openId", person.getMiniOpenid());
418
         map.put("openId", person.getMiniOpenid());
419
         map.put("orgId", person.getOrgId());
419
         map.put("orgId", person.getOrgId());
420
         map.put("personId", person.getPersonId());
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
         Map<String, Object> result = new HashMap<>();
428
         Map<String, Object> result = new HashMap<>();
424
         result.put("miniApp", miniResp);
429
         result.put("miniApp", miniResp);
425
         result.put("person", person);
430
         result.put("person", person);
431
+        result.put("extraInfo", extraInfo);
432
+        result.put("city", tdCity);
426
 
433
 
427
         return ResponseBean.success(result);
434
         return ResponseBean.success(result);
428
     }
435
     }

+ 2
- 2
src/main/resources/application-prod.yml Näytä tiedosto

26
 
26
 
27
 # 企业微信
27
 # 企业微信
28
 workwx:
28
 workwx:
29
-  corpid: wwf5f7889b49bb2510
29
+  corpid: ww5d25337525b92d79
30
   agentid: 3010097
30
   agentid: 3010097
31
-  secret: 0zKXGe3lmIoAfedoeLV_6DK96PM-Sg_c79rHqpSlvDs
31
+  secret: Pfh7UEIn8QEbFlaU5Z_9aPDYHzHlFJJ9rzdm385my28