【8】取店铺群类型
<p>[TOC]</p>
<h5>接口状态</h5>
<ul>
<li><code>正常</code></li>
</ul>
<h5>框架版本</h5>
<ul>
<li><code>≥ 2.0.5.0</code></li>
</ul>
<h5>更新时间</h5>
<ul>
<li><code>2024/11/23</code></li>
</ul>
<h5>调用额度</h5>
<ul>
<li><code>免额度</code></li>
</ul>
<h5>简要描述</h5>
<ul>
<li>取店铺群类型</li>
</ul>
<h5>DLL调用例子</h5>
<pre><code>Api_GetCommunityType(&quot;$userNick$&quot;,&quot;0_G_796978238_1700816612666&quot;)</code></pre>
<h5>易语言模块调用例子</h5>
<pre><code>SaiNiu.Api.取店铺群类型(&quot;$userNick$&quot;,&quot;0_G_796978238_1700816612666&quot;)</code></pre>
<h5>POST调用例子</h5>
<pre><code>http://127.0.0.1:3030/SaiNiuApi/Api</code></pre>
<pre><code>&amp;post=GetCommunityType&amp;data={&quot;userNick&quot;:&quot;$userNick$&quot;,&quot;groupId&quot;:&quot;0_G_796978238_1700816612666&quot;}</code></pre>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">是否必填</th>
<th style="text-align: left;">说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">userNick</td>
<td style="text-align: left;">文本型</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">千牛账号,为方便测试$userNick$表示取随机队列账号</td>
<td>tb123456</td>
</tr>
<tr>
<td style="text-align: left;">groupId</td>
<td style="text-align: left;">文本型</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">群id</td>
<td>0_G_796978238_1700816612666</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{&quot;code&quot;:200,&quot;data&quot;:{&quot;allowApply&quot;:false,&quot;shopGroup&quot;:true,&quot;isFollow&quot;:0,&quot;bizSubType&quot;:&quot;301&quot;,&quot;code&quot;:0,&quot;headPic&quot;:&quot;\/\/gw.alicdn.com\/imgextra\/i3\/O1CN01ZWtpFt25MYG6YyrFy_!!4611686018427387224-0-amp-im.jpg&quot;,&quot;groupId&quot;:&quot;0_G_796978238_1700816612666&quot;,&quot;description&quot;:&quot;&quot;,&quot;groupUserCount&quot;:3,&quot;groupUserList&quot;:[{&quot;userId&quot;:0,&quot;discussNum&quot;:0,&quot;userPic&quot;:&quot;\/\/gw.alicdn.com\/bao\/uploaded\/i3\/O1CN01XFT75J1gqu0kwWCO1_!!6000000004194-2-tps-440-440.png&quot;,&quot;fansCount&quot;:0,&quot;userNick&quot;:&quot;tb***01&quot;,&quot;followerNum&quot;:0,&quot;followingNum&quot;:0},{&quot;userId&quot;:0,&quot;discussNum&quot;:0,&quot;userPic&quot;:&quot;\/\/gw.alicdn.com\/bao\/uploaded\/i2\/796978238\/O1CN01iG2T7g2Aj3hVsbpW9_!!796978238-2-ampmedia.png&quot;,&quot;fansCount&quot;:0,&quot;userNick&quot;:&quot;tb***11&quot;,&quot;followerNum&quot;:0,&quot;followingNum&quot;:0},{&quot;userId&quot;:0,&quot;discussNum&quot;:0,&quot;userPic&quot;:&quot;\/\/gw.alicdn.com\/bao\/uploaded\/TB1e4rMt8Bh1e4jSZFhXXcC9VXa-240-240.png&quot;,&quot;fansCount&quot;:0,&quot;userNick&quot;:&quot;tb***34&quot;,&quot;followerNum&quot;:0,&quot;followingNum&quot;:0}],&quot;isMaster&quot;:0,&quot;mode&quot;:0,&quot;newUserForSeller&quot;:false,&quot;showBenefits&quot;:[],&quot;title&quot;:&quot;测试&quot;,&quot;userInGroup&quot;:false,&quot;userInfo&quot;:{&quot;userId&quot;:796978238,&quot;discussNum&quot;:0,&quot;userPic&quot;:&quot;\/\/gw.alicdn.com\/bao\/uploaded\/i2\/796978238\/O1CN01iG2T7g2Aj3hVsbpW9_!!796978238-2-ampmedia.png&quot;,&quot;fansCount&quot;:69,&quot;userNick&quot;:&quot;tb***11&quot;,&quot;followerNum&quot;:0,&quot;fansCountStr&quot;:&quot;69&quot;,&quot;followingNum&quot;:0},&quot;vGroupId&quot;:&quot;0_V_796978238_1700816612530&quot;,&quot;vitrualGroup&quot;:false},&quot;ret&quot;:[&quot;SUCCESS::调用成功&quot;]}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">整数型</td>
<td>返回结果,成功=200,失败≠200</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">文本型</td>
<td>调用结果</td>
</tr>
<tr>
<td style="text-align: left;">reg</td>
<td style="text-align: left;">文本型</td>
<td>结果说明,调用成功或失败原因</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>