f
This commit is contained in:
@@ -40,7 +40,9 @@ func NewQueryServiceLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Quer
|
|||||||
|
|
||||||
func (l *QueryServiceLogic) QueryService(req *types.QueryServiceReq) (resp *types.QueryServiceResp, err error) {
|
func (l *QueryServiceLogic) QueryService(req *types.QueryServiceReq) (resp *types.QueryServiceResp, err error) {
|
||||||
if req.AgentIdentifier != "" {
|
if req.AgentIdentifier != "" {
|
||||||
l.ctx = context.WithValue(l.ctx, "agentIdentifier", req.AgentIdentifier)
|
return nil, errors.Wrapf(xerr.NewErrMsg("服务暂不可用,系统已暂停查询服务,请稍后再试"), "查询服务暂停, AgentIdentifier: %s", req.AgentIdentifier)
|
||||||
|
|
||||||
|
// l.ctx = context.WithValue(l.ctx, "agentIdentifier", req.AgentIdentifier)
|
||||||
} else if req.App {
|
} else if req.App {
|
||||||
l.ctx = context.WithValue(l.ctx, "app", req.App)
|
l.ctx = context.WithValue(l.ctx, "app", req.App)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ $tables = @(
|
|||||||
# "agent_active_stat",
|
# "agent_active_stat",
|
||||||
# "agent_audit",
|
# "agent_audit",
|
||||||
# "agent_closure",
|
# "agent_closure",
|
||||||
"agent_commission"
|
# "agent_commission"
|
||||||
# "agent_wallet_transaction"
|
# "agent_wallet_transaction"
|
||||||
# "agent_commission_deduction"
|
# "agent_commission_deduction"
|
||||||
# "agent_link",
|
# "agent_link",
|
||||||
|
|||||||
Reference in New Issue
Block a user