add openim application

master
kira 6 years ago
parent fde8a601ea
commit 1bab9c4423

@ -18,6 +18,7 @@ import com.taobao.api.response.OpenimUsersUpdateResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
@ -29,9 +30,13 @@ import java.util.List;
*/
@Service
public class OpenimClient {
Logger logger = LoggerFactory.getLogger(getClass());
private final String appkey = "24960261";
private final String secret = "7639427973bd671be15c9d0c1e9c90b4";
@Value("${im.openim.appkey}")
private String appkey;
@Value("${im.openim.secret}")
private String secret;
// private final String appkey = "24962653";
// private final String secret = "1c1a1320c4e6f24df24e3fe41c3fc00a";
private final String url = "https://eco.taobao.com/router/rest";

@ -112,6 +112,11 @@ mail.mailgun.default.merchantlist=merchants@mail.royalpay.com.au
royalpay.sms.appid=1400094878
royalpay.sms.appkey=43390d81e20c5191c278fbf4cd275be2
im.openim.appkey=24960261
im.openim.secret=7639427973bd671be15c9d0c1e9c90b4
#im.openim.appkey=24962653
#im.openim.secret=1c1a1320c4e6f24df24e3fe41c3fc00a
#清算银行配置
settle.abafile.default-bank=CBA

Loading…
Cancel
Save