物流笑嘻嘻
This commit is contained in:
14
business/model/dao/user_delivery_address.go
Normal file
14
business/model/dao/user_delivery_address.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package dao
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/jx-callback/business/model"
|
||||
)
|
||||
|
||||
func GetAddressDetail(id int) (*model.UserDeliveryAddress, error) {
|
||||
param := &model.UserDeliveryAddress{}
|
||||
param.ModelIDCULD.ID = id
|
||||
if err := GetEntity(GetDB(), param, "ID"); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return param, nil
|
||||
}
|
||||
Reference in New Issue
Block a user