打包策略改变
This commit is contained in:
parent
f18d3021a9
commit
8e400786f1
|
|
@ -1,8 +1,11 @@
|
|||
package com.czg.controller.admin;
|
||||
|
||||
import cn.hutool.http.server.HttpServerRequest;
|
||||
import cn.hutool.http.server.HttpServerResponse;
|
||||
import com.czg.account.dto.SysLoginDTO;
|
||||
import com.czg.account.service.AuthorizationService;
|
||||
import com.czg.account.service.PermissionService;
|
||||
import com.czg.account.service.ShopTableService;
|
||||
import com.czg.account.vo.LoginVO;
|
||||
import com.czg.annotation.SaAdminCheckPermission;
|
||||
import com.czg.annotation.SaStaffCheckPermission;
|
||||
|
|
@ -10,9 +13,12 @@ import com.czg.config.RabbitPublisher;
|
|||
import com.czg.resp.CzgResult;
|
||||
import com.czg.sa.StpKit;
|
||||
import jakarta.annotation.Resource;
|
||||
import jakarta.servlet.http.HttpServletRequest;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
|
|
@ -54,9 +60,13 @@ public class AuthorizationController {
|
|||
|
||||
@Resource
|
||||
RabbitPublisher rabbitPublisher;
|
||||
@Resource
|
||||
ShopTableService shopTableService;
|
||||
@GetMapping("test")
|
||||
public CzgResult<?> login() {
|
||||
rabbitPublisher.sendOrderPrintMsg("552");
|
||||
public CzgResult<?> login(HttpServletRequest request, HttpServletResponse response) throws IOException {
|
||||
shopTableService.createQrCode(1L, 1, response, request);
|
||||
|
||||
// rabbitPublisher.sendOrderPrintMsg("552");
|
||||
// printMqListener.orderPrint("1");
|
||||
// return CzgResult.success(Map.of("token", StpKit.USER.getShopId()));
|
||||
return CzgResult.success();
|
||||
|
|
|
|||
Loading…
Reference in New Issue