dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

21 líneas
434 B

  1. package chanjarster.weixin.bean.custombuilder;
  2. import chanjarster.weixin.bean.WxCustomMessage;
  3. public class BaseBuilder<T> {
  4. protected String msgtype;
  5. protected String toUser;
  6. public T toUser(String toUser) {
  7. this.toUser = toUser;
  8. return (T) this;
  9. }
  10. public WxCustomMessage build() {
  11. WxCustomMessage m = new WxCustomMessage();
  12. m.setMsgtype(this.msgtype);
  13. m.setTouser(this.toUser);
  14. return m;
  15. }
  16. }