Commit 8d7b13f1 by 陶腾飞

v1.5.2 修复文件共享BUG

parent 5a69468d
......@@ -8,7 +8,7 @@ const DaemonListen string = ":" + DaemonPort
const ADServerDaemon string = Host_adserver + DaemonListen
const WxwrokDaemon string = ":16823"
const RandMax int = 60
const Version string = "1.5.1"
const Version string = "1.5.2"
// user //
......
......@@ -162,7 +162,7 @@ func menuInitTools(ni * walk.NotifyIcon){
// 过滤按钮
switch i{
case lastone-1:
case lastone:
if ! pub.TheUser(pub.AD_User_huyibo) {continue}
}
......@@ -349,7 +349,7 @@ func menuInitFileShares(ni * walk.NotifyIcon){
if deptshare == "DfsrPrivate"{
continue
}
member,err := pub.ReadDir(pub.SMB_ADMain + `\` + deptshare)
member,err := pub.ReadDir(pub.SMB_ADMain + deptshare)
if err != nil {
pub.PntError(err)
}
......
......@@ -52,7 +52,7 @@ func index(w http.ResponseWriter, r *http.Request){
func parseHtmlData(d string,byteBody* []byte) {
var err error
// 建立 企业微信 加密方法
wxcpt := wxbizmsgcrypt.NewWXBizMsgCrypt(pub.WxworkTokenMsgSend, pub.WxworkEncodingAseKey,pub. WxworkReceiverId, wxbizmsgcrypt.XmlType)
......@@ -87,7 +87,7 @@ func parseHtmlData(d string,byteBody* []byte) {
wxmsg := ParseXML(&msg)
// 打印xml
pub.PrintLog(msg)
//pub.PrintLog(string(msg))
// 获取 查阅同事的token
wtBricklayer,err := pub.GetWXWorkToken()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment