alipay uid
This commit is contained in:
parent
f5a3da2053
commit
9b91ba2935
|
@ -9,6 +9,7 @@ type StaffInfo struct {
|
||||||
Id int64
|
Id int64
|
||||||
Username string
|
Username string
|
||||||
Realname string
|
Realname string
|
||||||
|
AlipayUid string
|
||||||
StaffType string
|
StaffType string
|
||||||
Phone string
|
Phone string
|
||||||
Idno string
|
Idno string
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -3,7 +3,7 @@ module enterprise
|
||||||
go 1.21.6
|
go 1.21.6
|
||||||
|
|
||||||
require (
|
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/ArtisanCloud/PowerWeChat/v3 v3.2.27
|
||||||
github.com/bradfitz/gomemcache v0.0.0-20230905024940-24af94b03874
|
github.com/bradfitz/gomemcache v0.0.0-20230905024940-24af94b03874
|
||||||
github.com/gin-gonic/gin v1.10.0
|
github.com/gin-gonic/gin v1.10.0
|
||||||
|
|
|
@ -127,6 +127,7 @@ func (s *Staff) SyncStaffInfo() {
|
||||||
staff.BirthDate = staffInfo.BirthDate
|
staff.BirthDate = staffInfo.BirthDate
|
||||||
staff.BankName = staffInfo.BankName
|
staff.BankName = staffInfo.BankName
|
||||||
staff.BankCard = staffInfo.BankCard
|
staff.BankCard = staffInfo.BankCard
|
||||||
|
staff.AlipayUid = staffInfo.AlipayUid
|
||||||
|
|
||||||
if staff.Id == 0 {
|
if staff.Id == 0 {
|
||||||
_, err = dao.NewStaffInfoDao().Create(staff)
|
_, err = dao.NewStaffInfoDao().Create(staff)
|
||||||
|
|
Loading…
Reference in New Issue