|
|
@ -100,11 +100,11 @@ func RegisterRoutes() { |
|
|
|
// Attribute的服务实例
|
|
|
|
var serviceOfAttribute = svr.NewAttributeService() |
|
|
|
// Attribute插入一条
|
|
|
|
// RegisterInsertOneAttribute(attribute, "/insertone", serviceOfAttribute.InsertOne)
|
|
|
|
RegisterInsertOneAttribute(attribute, "/insertone", serviceOfAttribute.InsertOne) |
|
|
|
// Attribute插入多条
|
|
|
|
// RegisterInsertAttribute(attribute, "/insert", serviceOfAttribute.Insert)
|
|
|
|
// Attribute删除一条
|
|
|
|
// RegisterDeleteOneAttribute(attribute, "/deleteone", serviceOfAttribute.DeleteOne)
|
|
|
|
RegisterDeleteOneAttribute(attribute, "/deleteone", serviceOfAttribute.DeleteOne) |
|
|
|
// Attribute删除多条
|
|
|
|
// RegisterDeleteAttribute(attribute, "/delete", serviceOfAttribute.Delete)
|
|
|
|
// Attribute查询多条
|
|
|
@ -114,7 +114,7 @@ func RegisterRoutes() { |
|
|
|
// Attribute查询一条
|
|
|
|
RegisterSelectOneAttribute(attribute, "/selectone", serviceOfAttribute.SelectOne) |
|
|
|
// Attribute修改一条
|
|
|
|
// RegisterUpdateOneAttribute(attribute, "/updateone", serviceOfAttribute.UpdateOne)
|
|
|
|
RegisterUpdateOneAttribute(attribute, "/updateone", serviceOfAttribute.UpdateOne) |
|
|
|
// Attribute修改多条
|
|
|
|
// RegisterUpdateAttribute(attribute, "/update", serviceOfAttribute.Update)
|
|
|
|
|
|
|
|