Explorar el Código

update

add_mode
DengBiao hace 1 año
padre
commit
834db1bd4b
Se han modificado 3 ficheros con 2 adiciones y 2 borrados
  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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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 == "" {


Cargando…
Cancelar
Guardar