|
|
@@ -63,7 +63,7 @@ public class PushUtils {
|
|
|
params.put("content", content);
|
|
|
AccessToken token = getAccessTokenService().createNew(null, 259200);// 有效期:三天
|
|
|
// ex:
|
|
|
- // http://www.ubtob.com/openapi/webpage?access_token=282a8ba2fa1f4fdc9e025c1eea2ad7e8&redirect_page=http%3A%2F%2Fwww.ubtob.com%2F%23sale%2Forder%2F123
|
|
|
+ // http://www.usoftchina.com/openapi/webpage?access_token=282a8ba2fa1f4fdc9e025c1eea2ad7e8&redirect_page=http%3A%2F%2Fwww.usoftchina.com%2F%23sale%2Forder%2F123
|
|
|
try {
|
|
|
params.put("url", String.format("%s/openapi/webpage?access_token=%s&redirect_page=%s", getSysConf().getB2c(), token.getId(), URLEncoder.encode(getSysConf().getB2c() + "/" + url, "utf-8")));
|
|
|
// 调用推送接口
|