📄 findpackage.java
字号:
package com.heaton.bot.ship;
import com.heaton.bot.*;
import com.heaton.bot.catbot.*;
public class FindPackage {
public static String findPackage(String url,String code,String country)
{
try {
ShipBot ship = new ShipBot(new HTTPSocket());
ship.setURL(url);
ship.setCountry(country);
return ship.lookup(code);
} catch ( Exception e ) {
return e.toString();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -