選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

publicRequest.ts 464B

123456789101112131415161718
  1. import {requestNew} from "@/utils/network/request";
  2. import {hexToStrig } from "@/utils/network/api.js";
  3. const tools = require("../static/etcUtil/tools.js");
  4. export const decryptCardVehicleInformation=(str, func)=> {
  5. const options = {
  6. type: 2,
  7. data: {
  8. str
  9. },
  10. method: "POST",
  11. showLoading: true,
  12. };
  13. requestNew(hexToStrig, options).then((res) => {
  14. tools.hideLoadingAlert();
  15. console.log("后端解密",res)
  16. func(res.rd)
  17. })
  18. }