Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AD-Control-Golang
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陶腾飞
AD-Control-Golang
Commits
8d7b13f1
Commit
8d7b13f1
authored
Aug 05, 2020
by
陶腾飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v1.5.2 修复文件共享BUG
parent
5a69468d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
public/env.go
+1
-1
users/menu.go
+2
-2
wxwork/wxwork.go
+1
-1
No files found.
public/env.go
View file @
8d7b13f1
...
@@ -8,7 +8,7 @@ const DaemonListen string = ":" + DaemonPort
...
@@ -8,7 +8,7 @@ const DaemonListen string = ":" + DaemonPort
const
ADServerDaemon
string
=
Host_adserver
+
DaemonListen
const
ADServerDaemon
string
=
Host_adserver
+
DaemonListen
const
WxwrokDaemon
string
=
":16823"
const
WxwrokDaemon
string
=
":16823"
const
RandMax
int
=
60
const
RandMax
int
=
60
const
Version
string
=
"1.5.
1
"
const
Version
string
=
"1.5.
2
"
// user //
// user //
...
...
users/menu.go
View file @
8d7b13f1
...
@@ -162,7 +162,7 @@ func menuInitTools(ni * walk.NotifyIcon){
...
@@ -162,7 +162,7 @@ func menuInitTools(ni * walk.NotifyIcon){
// 过滤按钮
// 过滤按钮
switch
i
{
switch
i
{
case
lastone
-
1
:
case
lastone
:
if
!
pub
.
TheUser
(
pub
.
AD_User_huyibo
)
{
continue
}
if
!
pub
.
TheUser
(
pub
.
AD_User_huyibo
)
{
continue
}
}
}
...
@@ -349,7 +349,7 @@ func menuInitFileShares(ni * walk.NotifyIcon){
...
@@ -349,7 +349,7 @@ func menuInitFileShares(ni * walk.NotifyIcon){
if
deptshare
==
"DfsrPrivate"
{
if
deptshare
==
"DfsrPrivate"
{
continue
continue
}
}
member
,
err
:=
pub
.
ReadDir
(
pub
.
SMB_ADMain
+
`\`
+
deptshare
)
member
,
err
:=
pub
.
ReadDir
(
pub
.
SMB_ADMain
+
deptshare
)
if
err
!=
nil
{
if
err
!=
nil
{
pub
.
PntError
(
err
)
pub
.
PntError
(
err
)
}
}
...
...
wxwork/wxwork.go
View file @
8d7b13f1
...
@@ -87,7 +87,7 @@ func parseHtmlData(d string,byteBody* []byte) {
...
@@ -87,7 +87,7 @@ func parseHtmlData(d string,byteBody* []byte) {
wxmsg
:=
ParseXML
(
&
msg
)
wxmsg
:=
ParseXML
(
&
msg
)
// 打印xml
// 打印xml
pub
.
PrintLog
(
msg
)
//pub.PrintLog(string(msg)
)
// 获取 查阅同事的token
// 获取 查阅同事的token
wtBricklayer
,
err
:=
pub
.
GetWXWorkToken
()
wtBricklayer
,
err
:=
pub
.
GetWXWorkToken
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment