|
|
|
@ -90,6 +90,7 @@ public class CustomerServiceServiceImpl implements CustomerServiceService {
|
|
|
|
|
checkRecord.put("user_id", managerDetail.getString("username"));
|
|
|
|
|
int num = sysCustomerServiceMapper.countAll();
|
|
|
|
|
checkRecord.put("nick", "客服" + num);
|
|
|
|
|
checkRecord.put("icon_url","https://file.royalpay.com.au/open/2017/10/17/1508233432777_7X9kTmbsHUDv0iFD1zmYrDzNkrsBBk.jpg");
|
|
|
|
|
checkRecord.put("password", RandomStringUtils.random(12, true, true).toLowerCase());
|
|
|
|
|
openimApi.addUser(checkRecord);
|
|
|
|
|
result = checkRecord;
|
|
|
|
|