Esempio n. 1
0
 /**
  * 新增客服账号
  *
  * @param id 完整客服账号,格式为:账号前缀@公众号微信号,账号前缀最多10个字符,必须是英文或者数字字符。如果没有公众号微信号, 请前往微信公众平台设置。
  * @param name 客服昵称,最长6个汉字或12个英文字符
  * @param pwd 客服账号登录密码
  * @return 处理结果
  * @throws WeixinException
  * @see com.foxinmy.weixin4j.mp.api.CustomApi
  * @see <a
  *     href="http://mp.weixin.qq.com/wiki/9/6fff6f191ef92c126b043ada035cc935.html#.E5.AE.A2.E6.9C.8D.E7.AE.A1.E7.90.86.E6.8E.A5.E5.8F.A3.E8.BF.94.E5.9B.9E.E7.A0.81.E8.AF.B4.E6.98.8E">客服管理接口返回码</a>
  * @see <a
  *     href="http://mp.weixin.qq.com/wiki/9/6fff6f191ef92c126b043ada035cc935.html#.E6.B7.BB.E5.8A.A0.E5.AE.A2.E6.9C.8D.E8.B4.A6.E5.8F.B7">新增客服账号</a>
  */
 public JsonResult createAccount(String id, String name, String pwd) throws WeixinException {
   return customApi.createAccount(id, name, pwd);
 }