Pārlūkot izejas kodu

update

add_mode
DengBiao pirms 1 gada
vecāks
revīzija
834db1bd4b
3 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +0
    -1
      app/admin/svc/svc_login.go
  2. +2
    -0
      app/customer/hdl/self_support_for_school/hdl_faceCollection.go
  3. +0
    -1
      app/customer/svc/svc_login.go

+ 0
- 1
app/admin/svc/svc_login.go Parādīt failu

@@ -13,7 +13,6 @@ func HandleLoginToken(cacheKey string, admin *model.Admin) (string, error) {
token, err := cache.GetString(cacheKey)
if err != nil {
_ = logx.Error(err)
return "", err
}
// 没有获取到
if err != nil || token == "" {


+ 2
- 0
app/customer/hdl/self_support_for_school/hdl_faceCollection.go Parādīt failu

@@ -253,6 +253,7 @@ func ConcentrateFacePassStudentList(c *gin.Context) {
}

type ConcentrateFacePassStudentListResp struct {
UserIdentityId int `json:"user_identity_id" label:"身份id"`
Name string `json:"name" label:"姓名"`
IdNo string `json:"id_no" label:"身份证号码"`
ConcentrateSchoolFacePassStatus int `json:"concentrate_school_face_pass_status" label:"校园一脸通行集采状态(1:待采集 2:待确认 3:已确认)"`
@@ -260,6 +261,7 @@ func ConcentrateFacePassStudentList(c *gin.Context) {
var resp []*ConcentrateFacePassStudentListResp
for _, v := range m {
resp = append(resp, &ConcentrateFacePassStudentListResp{
UserIdentityId: v.UserIdentity.Id,
Name: v.UserIdentity.Name,
IdNo: v.UserIdentity.IdNo,
ConcentrateSchoolFacePassStatus: v.SelfSupportForUserFaceInfo.ConcentrateSchoolFacePassStatus,


+ 0
- 1
app/customer/svc/svc_login.go Parādīt failu

@@ -13,7 +13,6 @@ func HandleLoginToken(cacheKey string, user *model.User) (string, error) {
token, err := cache.GetString(cacheKey)
if err != nil {
_ = logx.Error(err)
return "", err
}
// 没有获取到
if err != nil || token == "" {


Notiek ielāde…
Atcelt
Saglabāt