master
黄海 5 years ago
parent 6920019c5e
commit 6a05f9367f

@ -36,4 +36,10 @@ go build -gcflags "all=-N -l" -o ./build/dsBaseRpc main.go
//panic(400) //panic(400)
#golang解决中文乱码的方法 #golang解决中文乱码的方法
https://www.cnblogs.com/mo3408/p/12216695.html https://www.cnblogs.com/mo3408/p/12216695.html
go mod download
【Go第三方包代理】Go第三方包代理设置 — GOPROXY
https://blog.csdn.net/tmt123421/article/details/88665248

@ -250,8 +250,8 @@ func AddSuperManager() {
modelLoginPerson := new(models.TSysLoginperson) modelLoginPerson := new(models.TSysLoginperson)
modelLoginPerson.Id = CommonUtil.GetUUID() modelLoginPerson.Id = CommonUtil.GetUUID()
modelLoginPerson.LoginName = accountArray[0].LoginName modelLoginPerson.LoginName = accountArray[0].LoginName
modelLoginPerson.Pwd = LdapUtil.GetLdapPassword("123456") modelLoginPerson.Pwd = LdapUtil.GetLdapPassword("DsideaL147258369")
modelLoginPerson.OriginalPwd = "123456" modelLoginPerson.OriginalPwd = "DsideaL147258369"
modelLoginPerson.IdentityId = 1 modelLoginPerson.IdentityId = 1
modelLoginPerson.PersonId = model.PersonId modelLoginPerson.PersonId = model.PersonId
modelLoginPerson.PersonName = model.Xm modelLoginPerson.PersonName = model.Xm

@ -19,7 +19,7 @@
<label>用户名:</label> <label>用户名:</label>
</div> </div>
<div class="ctrl"> <div class="ctrl">
<input type="text" id="usernameTxt" value="sys1" /> <input type="text" id="usernameTxt" value="" />
</div> </div>
</div> </div>
<div class="row clearfix"> <div class="row clearfix">
@ -27,7 +27,7 @@
<label>&nbsp&nbsp&nbsp码</label> <label>&nbsp&nbsp&nbsp码</label>
</div> </div>
<div class="ctrl"> <div class="ctrl">
<input type="password" id="passwordTxt" value="123456" /> <input type="password" id="passwordTxt" value="" />
</div> </div>
</div> </div>
<div id="errInfo" style="color:#F00;font-size:12px"></div> <div id="errInfo" style="color:#F00;font-size:12px"></div>
@ -47,11 +47,7 @@
$(function() { $(function() {
var openId = Base64.decode(getUrlParam("open_id")); var openId = Base64.decode(getUrlParam("open_id"));
var typeId = getUrlParam("type_id"); var typeId = getUrlParam("type_id");
$("#bind").click(function() { $("#bind").click(function() {
var userName = $("#usernameTxt").val(); var userName = $("#usernameTxt").val();
var passWord = $("#passwordTxt").val(); var passWord = $("#passwordTxt").val();
var sessionId; var sessionId;

Loading…
Cancel
Save