From a2025bf705d46832fbfc5c4e498efd71d41ae91a Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Wed, 23 Jun 2021 17:02:03 +0800 Subject: [PATCH] aa --- business/jxcallback/orderman/orderman_ext.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/business/jxcallback/orderman/orderman_ext.go b/business/jxcallback/orderman/orderman_ext.go index e43e2086c..2fe6aa28f 100644 --- a/business/jxcallback/orderman/orderman_ext.go +++ b/business/jxcallback/orderman/orderman_ext.go @@ -313,8 +313,7 @@ func (c *OrderManager) GetOrders(ctx *jxcontext.Context, isIncludeFake bool, fro var ( db = dao.GetDB() isJxIncomeArea = params["jxIncomeBegin"] != nil || params["jxIncomeEnd"] != nil - begin = utils.MustInterface2Int64(params["jxIncomeBegin"]) - end = utils.MustInterface2Int64(params["jxIncomeEnd"]) + begin, end int64 ) //权限 if permission.IsRoled(ctx) { @@ -343,6 +342,8 @@ func (c *OrderManager) GetOrders(ctx *jxcontext.Context, isIncludeFake bool, fro } } if isJxIncomeArea { + begin = utils.MustInterface2Int64(params["jxIncomeBegin"]) + end = utils.MustInterface2Int64(params["jxIncomeEnd"]) //begin := utils.MustInterface2Int64(params["jxIncomeBegin"]) //end := utils.MustInterface2Int64(params["jxIncomeEnd"]) pageSize = math.MaxInt64