lipengjava

upload flash logo

  1 +/**
  2 + * @api {post} /3m/siteAction/uploadLogoForeign.do 29.修改课堂logo
  3 + * @apiName uploadLogoForeign
  4 + * @apiGroup site
  5 + * @apiVersion 1.6.0
  6 + * @apiDescription 修改站点的所有课堂logo地址
  7 + *
  8 + * @apiParam {String} siteId 站点标识
  9 + * @apiParam {Long} timestamp 时间戳
  10 + * @apiParam {String} authId MD5(key+siteId+timestamp), 其中 key 为与系统约定的加密 key
  11 + * @apiParam {String} flashCopyright 课堂版权文字
  12 + * @apiParam {String} flashLogoUrl 课堂 logo 地址
  13 + * @apiParam {String} flashLoginImgUrl 课堂登录图片地址
  14 + *
  15 + * @apiParamExample {xml} 请求示例
  16 + <?xml version="1.0" encoding="UTF-8"?>
  17 + <param>
  18 + <siteId>admin</siteId>
  19 + <flashCopyright>三芒世纪(北京)科技有限公司</flashCopyright>
  20 + <flashLogoUrl>402880f44fbb13e4014fbb1a0f9d0002</flashLogoUrl>
  21 + <flashLoginImgUrl>http://www.3mang.com/msg/2.jpg</flashLoginImgUrl>
  22 + <timestamp>1487756351064</timestamp>
  23 + <authId>http://www.3mang.com/msg/1.jpg</authId>
  24 + </param>
  25 + *
  26 + * @apiSuccess {int} errorCode
  27 + * 0:正常 <br/>
  28 + * 1:siteId 错误 <br/>
  29 + * 2:站点未到生效日期 <br/>
  30 + * 3:站点过期 <br/>
  31 + * 4:authId 错误 <br/>
  32 + * 5:authId 不能重复使用 <br/>
  33 + * 6:课堂版权不能为空 <br/>
  34 + * 7:课堂 logo 不能为空 <br/>
  35 + * 8:课堂登录图片不能为空 <br/>
  36 + * 10:报文格式错误 <br/>
  37 + * @apiSuccess {String} msg 错误信息
  38 + *
  39 + * @apiSuccessExample {xml} 返回示例
  40 + &lt;?xml version=“1.0” encoding="UTF-8"?&gt;
  41 + &lt;result&gt;
  42 + &lt;errorCode&gt;0&lt;/errorCode&gt;
  43 + &lt;msg&gt;操作成功&lt;/msg&gt;
  44 + &lt;/result&gt;
  45 + *
  46 + */