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.
|
- package chanjarster.weixin.bean.custombuilder;
-
- import chanjarster.weixin.bean.WxCustomMessage;
-
- public class BaseBuilder<T> {
- protected String msgtype;
- protected String toUser;
-
- public T toUser(String toUser) {
- this.toUser = toUser;
- return (T) this;
- }
-
- public WxCustomMessage build() {
- WxCustomMessage m = new WxCustomMessage();
- m.setMsgtype(this.msgtype);
- m.setTouser(this.toUser);
- return m;
- }
- }
|