Browse Source

证件识别api

master
huangjiajun 1 year ago
parent
commit
cf352de2b8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      card_pack/api.go

+ 1
- 1
card_pack/api.go View File

@@ -61,7 +61,7 @@ func CardPackSend(engine *xorm.Engine, args map[string]interface{}) (string, err
Ext: zhios_third_party_utils.SerializeStr(ext), Ext: zhios_third_party_utils.SerializeStr(ext),
} }
engine.InsertOne(&record) engine.InsertOne(&record)
sql := `UPDATE sms_num_list set num=num-%d WHERE uid=%s ;`
sql := `UPDATE card_pack_num_list set num=num-%d WHERE uid=%s ;`
sql = fmt.Sprintf(sql, 1, args["uid"]) sql = fmt.Sprintf(sql, 1, args["uid"])
fmt.Println(sql) fmt.Println(sql)
nativeString, err := db.QueryNativeString(engine, sql) nativeString, err := db.QueryNativeString(engine, sql)


Loading…
Cancel
Save