用户级别

This commit is contained in:
wanggeng 2021-11-15 11:11:24 +08:00
parent 110c2d1211
commit 1e927a707b
4 changed files with 8 additions and 6 deletions

View File

@ -82,6 +82,9 @@
</if> </if>
<if test="areaName != null"> <if test="areaName != null">
area_name = #{areaName}, area_name = #{areaName},
</if>
<if test="userLevel != null">
user_level = #{userLevel},
</if> </if>
gmt_modified = #{gmtModified}, gmt_modified = #{gmtModified},
modifier = #{modifier} modifier = #{modifier}

View File

@ -323,6 +323,7 @@ function SrsRtcPlayerAsync() {
} }
resolve(data); resolve(data);
}).fail(function(reason){ }).fail(function(reason){
reject(reason); reject(reason);
}); });

View File

@ -36,7 +36,6 @@ function SrsRtcSignalingAsync() {
self.ws.onmessage = function(event) { self.ws.onmessage = function(event) {
var r = JSON.parse(event.data); var r = JSON.parse(event.data);
console.log('r', r);
var promise = self._internals.msgs[r.tid]; var promise = self._internals.msgs[r.tid];
if (promise) { if (promise) {
promise.resolve(r.msg); promise.resolve(r.msg);

View File

@ -25,11 +25,10 @@
<div class="layui-form-item" pane> <div class="layui-form-item" pane>
<label class="layui-form-label">用户级别</label> <label class="layui-form-label">用户级别</label>
<div class="layui-input-block"> <div class="layui-input-block">
<input type="radio" name="userLevel" value="1" title="1级" checked> <input type="radio" name="userLevel" value="1" title="市级" checked>
<input type="radio" name="userLevel" value="2" title="2级"> <input type="radio" name="userLevel" value="2" title="旗县、区">
<input type="radio" name="userLevel" value="3" title="3级"> <input type="radio" name="userLevel" value="3" title="乡政、街道">
<input type="radio" name="userLevel" value="4" title="4级"> <input type="radio" name="userLevel" value="4" title="社区、嘎查村">
<input type="radio" name="userLevel" value="5" title="5级">
</div> </div>
</div> </div>
<div class="layui-form-item layui-layout-admin"> <div class="layui-form-item layui-layout-admin">