|
@@ -15,9 +15,8 @@ public class ShortUrlUtil {
|
|
|
static String actionUrl = "http://api.t.sina.com.cn/short_url/shorten.json";
|
|
|
static String APPKEY = "2815391962,31641035,3271760578,3925598208";
|
|
|
public static void main(String[] args) {
|
|
|
-// String longUrl = "http://pay.dayaedu.com/?schoolId=2&classId=10381&cityId=1302";
|
|
|
-// Test tw = new Test();
|
|
|
-// System.out.println(tw.sinaShortUrl(longUrl));
|
|
|
+ String longUrl = "https://pay.dayaedu.com/#/?classId=10384&cityId=3302&schoolId=148";
|
|
|
+ System.out.println(sinaShortUrl(longUrl));
|
|
|
}
|
|
|
|
|
|
public static String sinaShortUrl(String longUrl){
|