作者 tangxvhui

修复bug

... ... @@ -130,7 +130,7 @@ func (adminUserSrv AdminUserService) SaveAdminUser(saveUserCmd *command.SaveAdmi
Account: saveUserCmd.Account,
Password: defaultPwd,
AdminName: saveUserCmd.Name,
IsUsable: true,
IsUsable: saveUserCmd.IsUsable,
Permission: permissionBases,
}
}
... ...
... ... @@ -29,7 +29,7 @@ type Order struct {
//订单实际金额
OrderActualAmount float64
//订单已支付金额(货款)
OrderPaymentAmount float64
OrderPaymentAmount float64 `pg:",use_zero"`
//最后分红状态
BonusStatus int `pg:",default:1"`
//订单区域信息
... ...
... ... @@ -19,7 +19,7 @@ type PartnerInfo struct {
// 登录密码
Password string
// 状态(1:启用或者0:禁用)
Status int `pg:",use_zero,default:1"`
Status int `pg:",use_zero`
// 合伙类别 (1.研发合伙人 2.业务合伙人 3.事业)
PartnerCategory int `pg:",default:1"` //partner_category
//所属区域信息
... ...