KesionEDU网校V10(2022)


微信小程序注册接口

<p><strong>简要描述:</strong> </p> <ul> <li>微信小程序注册接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>域名/webapi/user/DoMiniProgramReg</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>Get</li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <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;">openid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>微信的openid</td> </tr> <tr> <td style="text-align: left;">unionid</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>unionid</td> </tr> <tr> <td style="text-align: left;">nickname</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>昵称</td> </tr> <tr> <td style="text-align: left;">avatarurl</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>头像</td> </tr> </tbody> </table> <p><strong>注册成功返回示例</strong></p> <p>``` { &quot;IDCard&quot;: null, &quot;Privacy&quot;: 0, &quot;UserFace&quot;: &quot;http:\/\/localhost\/Config\/APP\/static\/images\/common\/default-avatar.png&quot;, &quot;AlipayID&quot;: null, &quot;GroupID&quot;: 2, &quot;IsMobileRZ&quot;: 0, &quot;ApiToken&quot;: &quot;5JKHM9PR0W3B83E&quot;, &quot;RealName&quot;: null, &quot;ChargeType&quot;: 1, &quot;AskRankId&quot;: 0, &quot;tagsids&quot;: null, &quot;UnionID&quot;: null, &quot;IsAgent&quot;: 0, &quot;EDays&quot;: 0, &quot;Address&quot;: null, &quot;CheckNum&quot;: &quot;S4SG01TDK9&quot;, &quot;ScoreHasUse&quot;: 0, &quot;Answer&quot;: null, &quot;LastLoginTime&quot;: &quot;2020-02-22T20:29:14.033&quot;, &quot;IsWeixinUnBind&quot;: 0, &quot;IsBindGZ&quot;: 0, &quot;UserID&quot;: 1659, &quot;open_space&quot;: 1, &quot;zipcode&quot;: null, &quot;BeginDate&quot;: &quot;2020-02-22T20:29:14.033&quot;, &quot;qqopenid&quot;: null, &quot;Point&quot;: 0, &quot;LoadEndGroupDate&quot;: &quot;2020-02-22T20:29:14.05&quot;, &quot;ItemId&quot;: 0, &quot;coursename&quot;: null, &quot;Setting&quot;: null, &quot;qqtoken&quot;: null, &quot;LastLoginDevice&quot;: 0, &quot;CustomVipType&quot;: 0, &quot;interest&quot;: null, &quot;PPUserID&quot;: 0, &quot;Locked&quot;: 0, &quot;intro&quot;: null, &quot;Question&quot;: null, &quot;childId&quot;: 0, &quot;SinaId&quot;: null, &quot;HomePage&quot;: null, &quot;Enddate&quot;: &quot;2020-02-22T20:29:14.05&quot;, &quot;AppID&quot;: null, &quot;ZanCount&quot;: 0, &quot;pic&quot;: null, &quot;DepartId&quot;: 0, &quot;Score&quot;: 0, &quot;Mobile&quot;: &quot;13585658632&quot;, &quot;LoginTimes&quot;: 0, &quot;CityID&quot;: 0, &quot;Money&quot;: &quot;0.00&quot;, &quot;OrderDevice&quot;: 0, &quot;UserName&quot;: &quot;tttttt2&quot;, &quot;Email&quot;: &quot;&quot;, &quot;ProID&quot;: 0, &quot;IsAg&quot;: 0, &quot;space_name&quot;: &quot;tttttt2&quot;, &quot;Sign&quot;: null, &quot;RndPassword&quot;: &quot;5JKHM9PR0W3B83E&quot;, &quot;Salt&quot;: &quot;KCPuGFkhrd7stqttCIyRF13D6o1aSoz2&quot;, &quot;JoinDate&quot;: &quot;2020-02-22T20:29:14.033&quot;, &quot;WeiXinOpenID&quot;: null, &quot;agent&quot;: null, &quot;LoadType&quot;: 0 } ] }</p> <pre><code> **注册失败返回示例** </code></pre> <p>{ &quot;returnCode&quot;: 1003, &quot;result&quot;: false, &quot;msg&quot;: &quot;对不起,用户名已存在&quot; }</p> <pre><code> **备注** - 更多返回错误代码请看首页的错误代码描述</code></pre>

页面列表

ITEM_HTML