diff --git a/common/model/staff_info.go b/common/model/staff_info.go index 8d42d77..9c7b6a0 100644 --- a/common/model/staff_info.go +++ b/common/model/staff_info.go @@ -9,6 +9,7 @@ type StaffInfo struct { Id int64 Username string Realname string + AlipayUid string StaffType string Phone string Idno string diff --git a/go.mod b/go.mod index a039b8b..eeedae2 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module enterprise go 1.21.6 require ( - git.u8t.cn/open/gosdk v0.0.0-20240807044703-ac33837a7820 + git.u8t.cn/open/gosdk v0.0.0-20240927033033-8d021096f778 github.com/ArtisanCloud/PowerWeChat/v3 v3.2.27 github.com/bradfitz/gomemcache v0.0.0-20230905024940-24af94b03874 github.com/gin-gonic/gin v1.10.0 diff --git a/worker/staff.go b/worker/staff.go index 485929c..d3a1293 100644 --- a/worker/staff.go +++ b/worker/staff.go @@ -127,6 +127,7 @@ func (s *Staff) SyncStaffInfo() { staff.BirthDate = staffInfo.BirthDate staff.BankName = staffInfo.BankName staff.BankCard = staffInfo.BankCard + staff.AlipayUid = staffInfo.AlipayUid if staff.Id == 0 { _, err = dao.NewStaffInfoDao().Create(staff)