From 3fa0cbdfe71ea096fa88533183304da1d1eb5332 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Wed, 7 Jul 2021 16:59:01 +0800 Subject: [PATCH] aa --- business/model/app.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/business/model/app.go b/business/model/app.go index eec7b85c8..14c2fa927 100644 --- a/business/model/app.go +++ b/business/model/app.go @@ -3,9 +3,9 @@ package model type Apps struct { ModelIDCULD - UserID string `json:"user_id"` //属于哪个账号的 - Name string `json:"name"` //应用名称 - Type int `json:"type"` //应用类型 - AppKey string `json:"app_key"` //Key - Status int `json:"status"` //状态 + UserID string `orm:"column(user_id)" json:"user_id"` //属于哪个账号的 + Name string `json:"name"` //应用名称 + Type int `json:"type"` //应用类型 + AppKey string `json:"app_key"` //Key + Status int `json:"status"` //状态 }