使用方法很简单 ProfileService 为asms页,也是页面类的名称,通过这样引用,然后直接pf.xx方法就可以了 public ProfileService pf = new ProfileService();