master
howell 3 years ago
parent ab076f75bf
commit 865a12c30d

@ -497,6 +497,6 @@ func (o logic) ProfitSaleList(args ArgsProfitListReq) (res ProfitDetail, err err
return
}
type ArgsProfitPerson struct {
ShopID uint `json:"shop_id"`
func (o logic) ProfitSalePerson(args ArgsProfitListReq) {
}

@ -1,10 +1,10 @@
package manage
import (
"recook/internal/model/user"
"recook/internal/v2/lib/common"
"recook/internal/v2/lib/db"
"recook/internal/v2/model/recook/after"
"recook/internal/v2/model/recook/user"
"strconv"
"github.com/golangkit/formatime"
@ -170,7 +170,7 @@ type RecookOrderInfoModel struct {
OrderSku []RecookOrderGoodsDetailModel `json:"-" gorm:"foreignKey:order_id"`
After []after.RecookAfterSalesGoodsModel `json:"-" gorm:"foreignKey:order_id"`
OrderType uint `json:"-"`
User user.RecookUserInfoModel `json:"-" gorm:"foreignKey:user_id"`
User user.Information `json:"-" gorm:"foreignKey:user_id"`
}
// TableName sets the insert table name for this struct type

@ -256,10 +256,10 @@ func routerApp(appRouter *gin.RouterGroup) {
{
proxy := jyy.Proxy{}
{
jyyRouter.POST("sale", proxy.ProfitSaleList)
jyyRouter.POST("sale/detail", proxy.ProfitSalePerson)
jyyRouter.POST("shop", proxy.ProfitShopList)
jyyRouter.POST("self", proxy.ProfitSelfList)
profitRouter.POST("sale", proxy.ProfitSaleList)
profitRouter.POST("sale/detail", proxy.ProfitSalePerson)
profitRouter.POST("shop", proxy.ProfitShopList)
profitRouter.POST("self", proxy.ProfitSelfList)
}
}
}

Loading…
Cancel
Save