refactor(controller): 优化日志输出信息并删除未使用的导入- 在 WxLoginController 中修改 tenantId 的日志输出信息,使其更具描述性
- 在 ShopDealerApplyController 中删除未使用的 PageParam 导入
This commit is contained in:
@@ -425,7 +425,7 @@ public class WxLoginController extends BaseController {
|
||||
try {
|
||||
// 从scene参数中解析租户ID
|
||||
Integer tenantId = extractTenantIdFromScene(scene);
|
||||
System.out.println("tenantId = " + tenantId);
|
||||
System.out.println("从scene参数中解析租户ID = " + tenantId);
|
||||
if (tenantId == null) {
|
||||
response.setStatus(HttpServletResponse.SC_BAD_REQUEST);
|
||||
response.getWriter().write("{\"error\":\"无法从scene参数中获取租户信息\"}");
|
||||
|
||||
@@ -8,7 +8,6 @@ import com.gxwebsoft.shop.entity.ShopDealerApply;
|
||||
import com.gxwebsoft.shop.param.ShopDealerApplyParam;
|
||||
import com.gxwebsoft.common.core.web.ApiResult;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.common.core.web.PageParam;
|
||||
import com.gxwebsoft.common.core.web.BatchParam;
|
||||
import com.gxwebsoft.common.core.annotation.OperationLog;
|
||||
import com.gxwebsoft.common.system.entity.User;
|
||||
|
||||
Reference in New Issue
Block a user