whycxzp
2024-09-06 05aebb26d1e2e1fbaebe0119876aa97caea1fef5
src/main/java/com/whyc/controller/QRCodeController.java
@@ -4,6 +4,7 @@
import com.whyc.service.QRCodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -23,4 +24,9 @@
        return new Response().set(1,res);
    }
    @PostMapping("extractAndGetData")
    private Response extractAndGetData(@RequestBody byte[] data){
       return service.extractAndGetData(data);
    }
}