v2.4.7
<p>[TOC]</p>
<h1>[后台]刷新客服nimToken</h1>
<table>
<thead>
<tr>
<th style="text-align: left;">接口名</th>
<th style="text-align: left;">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">/v1/sys/nim/getToken</td>
<td style="text-align: left;">-</td>
</tr>
</tbody>
</table>
<pre><code class="language-go">
// 入参
user_id int64 // cue 的 user id
// 出参
nimToken:string
</code></pre>
<h1>[后台]客服账号管理</h1>
<table>
<thead>
<tr>
<th style="text-align: left;">接口名</th>
<th style="text-align: left;">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">/v1/sys/user/setCS</td>
<td style="text-align: left;">-</td>
</tr>
</tbody>
</table>
<pre><code class="language-go">
// 入参
id int64 // cue 的 user id
cs bool // true: 添加账号, false: 移除
lang string // 语言,参见 语言简写码
// 出参
ok:bool
</code></pre>