{
  "result": {
    "stats": {
      "steps": {
        "total": 5,
        "passed": 5,
        "failed": 0
      },
      "iterations": {
        "total": 1,
        "pending": 0,
        "failed": 0
      },
      "items": {},
      "scripts": {
        "total": 13,
        "pending": 0,
        "failed": 0
      },
      "prerequests": {
        "total": 5,
        "pending": 0,
        "failed": 0
      },
      "requests": {
        "total": 5,
        "pending": 0,
        "failed": 0
      },
      "socketRequests": {
        "total": 0,
        "pending": 0,
        "failed": 0
      },
      "tests": {
        "total": 5,
        "pending": 0,
        "failed": 0
      },
      "assertions": {
        "total": 3,
        "pending": 0,
        "failed": 0
      },
      "testScripts": {
        "total": 8,
        "pending": 0,
        "failed": 0
      },
      "prerequestScripts": {
        "total": 5,
        "pending": 0,
        "failed": 0
      }
    },
    "timings": {
      "responseTime": 5382,
      "responseAverage": 847.7472,
      "responseMin": 260,
      "responseMax": 2826,
      "responseSd": 974.1430433422803,
      "dnsAverage": 0,
      "dnsMin": 0,
      "dnsMax": 0,
      "dnsSd": 0,
      "firstByteAverage": 0,
      "firstByteMin": 0,
      "firstByteMax": 0,
      "firstByteSd": 0,
      "started": 1783576742999,
      "completed": 1783576758571
    },
    "transfers": {
      "responseTotal": 2316
    },
    "failures": [],
    "stepTree": [
      {
        "ref": "f58cc882-8830-4bdd-ba65-69c8c1d17c2e",
        "type": "http"
      },
      {
        "ref": "a32b4c96-6144-4cd3-a189-191472996ccc",
        "type": "http"
      },
      {
        "ref": "b3268792-192a-49c3-8561-84637c7d6b16",
        "type": "http"
      },
      {
        "ref": "1f5e483e-0377-47e7-9259-80a123668901",
        "type": "http"
      },
      {
        "ref": "0436153f-0b9b-41ed-8188-ff0c7fe82d51",
        "type": "http"
      }
    ],
    "error": null
  },
  "isTestFlowControl": false,
  "run": {
    "stats": {
      "steps": {
        "total": 5,
        "passed": 5,
        "failed": 0
      },
      "iterations": {
        "total": 1,
        "pending": 0,
        "failed": 0
      },
      "items": {},
      "scripts": {
        "total": 13,
        "pending": 0,
        "failed": 0
      },
      "prerequests": {
        "total": 5,
        "pending": 0,
        "failed": 0
      },
      "requests": {
        "total": 5,
        "pending": 0,
        "failed": 0
      },
      "socketRequests": {
        "total": 0,
        "pending": 0,
        "failed": 0
      },
      "tests": {
        "total": 5,
        "pending": 0,
        "failed": 0
      },
      "assertions": {
        "total": 3,
        "pending": 0,
        "failed": 0
      },
      "testScripts": {
        "total": 8,
        "pending": 0,
        "failed": 0
      },
      "prerequestScripts": {
        "total": 5,
        "pending": 0,
        "failed": 0
      }
    },
    "timings": {
      "responseTime": 5382,
      "responseAverage": 847.7472,
      "responseMin": 260,
      "responseMax": 2826,
      "responseSd": 974.1430433422803,
      "dnsAverage": 0,
      "dnsMin": 0,
      "dnsMax": 0,
      "dnsSd": 0,
      "firstByteAverage": 0,
      "firstByteMin": 0,
      "firstByteMax": 0,
      "firstByteSd": 0,
      "started": 1783576742999,
      "completed": 1783576758571
    },
    "transfers": {
      "responseTotal": 2316
    },
    "failures": [],
    "stepTree": [
      {
        "ref": "f58cc882-8830-4bdd-ba65-69c8c1d17c2e",
        "type": "http"
      },
      {
        "ref": "a32b4c96-6144-4cd3-a189-191472996ccc",
        "type": "http"
      },
      {
        "ref": "b3268792-192a-49c3-8561-84637c7d6b16",
        "type": "http"
      },
      {
        "ref": "1f5e483e-0377-47e7-9259-80a123668901",
        "type": "http"
      },
      {
        "ref": "0436153f-0b9b-41ed-8188-ff0c7fe82d51",
        "type": "http"
      }
    ],
    "error": null
  },
  "options": {
    "accessToken": "afxp_b1d5f2P6pF4rgO0gfdfOM5ACs4HJwauEi57o",
    "apiBaseUrl": "https://api.apifox.com",
    "testSuite": [
      2103
    ],
    "environment": 45671644,
    "reporters": [
      "cli",
      "json",
      "junit",
      "html"
    ],
    "outDir": "work_store/apifox/2026-07-09-full-automation-run/reports/suite-2103",
    "outFile": "suite-2103",
    "originalOutFile": "suite-2103",
    "onError": "continue",
    "envVar": [],
    "globalVar": [],
    "color": "off",
    "delayRequest": 0,
    "timeoutRequest": 30000,
    "timeoutScript": 30000,
    "enableBigInt": false,
    "disableRejectUnauthorized": false,
    "maxRetries": 3,
    "allowSecuritySensitiveActions": true,
    "reporterOptions": {
      "name": "智慧营养健康餐厅自动化：用户主流程",
      "runnerId": "6e3caa93-1ade-45ff-9eea-06574a262d74",
      "testSuiteId": 2103,
      "executionCount": 1
    },
    "isUploadReportSummary": false,
    "apifoxVersion": "2.2.6",
    "globals": {},
    "teamGlobals": {}
  },
  "collection": {
    "apifoxCli": "1.1.0",
    "item": [
      {
        "item": [
          {
            "id": "c644a7d8-843f-4a6a-a75b-3a8a68cc21c3",
            "name": "账号登录",
            "request": {
              "url": {
                "protocol": "https",
                "path": [
                  "",
                  "m",
                  "login",
                  "logon"
                ],
                "host": [
                  "zhct",
                  "yyangpt",
                  "cn"
                ],
                "query": [],
                "variable": []
              },
              "header": [
                {
                  "disabled": true,
                  "key": "Cookie",
                  "value": "_token=ABtQ0NxLpaiFEQB1Sdh0tAyGn2CikVRK%2FQAw82o2Xz2u%2BcoYilioPapdb7NVWwhM1BrAhAB0SpXKWMB1xik12g%3D%3D"
                },
                {
                  "key": "Access-Token",
                  "value": "{{terminal_token}}"
                },
                {
                  "key": "User-Agent",
                  "value": "app/1.0.0"
                }
              ],
              "method": "POST",
              "body": {
                "mode": "formdata",
                "formdata": [
                  {
                    "disabled": false,
                    "key": "account",
                    "value": "17600797212",
                    "type": "string"
                  },
                  {
                    "disabled": false,
                    "key": "pwd",
                    "value": "cpt123",
                    "type": "string"
                  }
                ]
              },
              "type": "http"
            },
            "response": [],
            "event": [
              {
                "listen": "prerequest",
                "script": {
                  "id": "commonScript.assertion",
                  "type": "text/javascript",
                  "exec": [
                    "",
                    "  ____string2Array = function(value) {",
                    "    if(typeof value === 'object'){",
                    "      return value;",
                    "    }",
                    "    try {",
                    "      return JSON.parse(value);",
                    "    } catch (e) {",
                    "      return value;",
                    "    }",
                    "  }",
                    "  ____string2Number = function(value, errorMsg) {",
                    "   if(typeof value !== 'string'){",
                    "     return value;",
                    "   }",
                    "   if (/^\\-?\\d+$/.test(value)) {",
                    "       return parseInt(value);",
                    "   } else if (/^\\-?\\d+\\.\\d+$/.test(value)) {",
                    "       return parseFloat(value);",
                    "   } else {",
                    "       throw new Error(errorMsg || 'Data type mismatch')",
                    "   }",
                    " }",
                    "",
                    "  ____formatValues = function(value, stringCompareValue, comparison) {",
                    "   try{",
                    "     const isNumberComparisons = ['isBelow', 'isAtMost', 'isAbove', 'isAtLeast'].includes(comparison);",
                    "     const isCollectionComparisons = ['isOneOf', 'notOneOf'].includes(comparison);",
                    "     let compareValue;",
                    "     switch (typeof value) {",
                    "         case 'string':",
                    "             if (isNumberComparisons) {",
                    "                value = ____string2Number(value);",
                    "                compareValue = ____string2Number(stringCompareValue);",
                    "             } else if (isCollectionComparisons) {",
                    "                compareValue = ____string2Array(stringCompareValue);",
                    "             } else if (comparison === 'exists' || comparison === 'notExist') {",
                    "                value = /^({%.*%})|({{.*}})$/.test(value) ? undefined : value;",
                    "             } else {",
                    "                compareValue = stringCompareValue;",
                    "             }",
                    "             break;",
                    "         case 'object':",
                    "             const isArray = value instanceof Array;",
                    "             if (isNumberComparisons) {",
                    "                 throw new Error('Values of type object cannot be compared using the ' + comparison + ' method')",
                    "             } else if (isCollectionComparisons && isArray) {",
                    "              throw new Error('Values of type array cannot be compared using the ' + comparison + ' method')",
                    "            } else if (",
                    "              isArray &&",
                    "              comparison === 'include' &&",
                    "              value.includes(stringCompareValue)",
                    "            ) {",
                    "              compareValue = stringCompareValue;",
                    "            } else {",
                    "              try {",
                    "                  compareValue = JSON.parse(stringCompareValue);",
                    "              } catch (e) {",
                    "                  compareValue = stringCompareValue;",
                    "              }",
                    "            }",
                    "             break;",
                    "         case 'boolean':",
                    "             if (isNumberComparisons || isCollectionComparisons) {",
                    "                 throw new Error('Values of type boolean cannot be compared using the ' + comparison + ' method')",
                    "             }",
                    "             compareValue = stringCompareValue === 'true' ? true : (stringCompareValue === 'false' ? false : stringCompareValue);",
                    "             break;",
                    "           case 'bigint':",
                    "           case 'number':",
                    "             if (isNumberComparisons) {",
                    "               compareValue = ____string2Number(stringCompareValue);",
                    "             } else if (isCollectionComparisons) {",
                    "              compareValue = ____string2Array(stringCompareValue);",
                    "              value = '' + value;",
                    "            } else {",
                    "               compareValue = stringCompareValue;",
                    "               value = '' + value;",
                    "             }",
                    "             break;",
                    "         case 'null':",
                    "             if (isNumberComparisons) {",
                    "                 throw new Error('Values of type null cannot be compared using the ' + comparison + ' method')",
                    "             }",
                    "             compareValue = stringCompareValue === 'null' ? null : stringCompareValue;",
                    "             break;",
                    "         default:",
                    "            if (isCollectionComparisons) {",
                    "              compareValue = ____string2Array(stringCompareValue);",
                    "            } else {",
                    "              compareValue = stringCompareValue;",
                    "            }",
                    "            break;",
                    "     }",
                    "     return { compareValue, value };",
                    "   } catch(e) {",
                    "     console.log(e);",
                    "     throw e;",
                    "   }",
                    " }",
                    " "
                  ]
                }
              },
              {
                "listen": "test",
                "script": {
                  "id": "postProcessors.0.extractor",
                  "type": "text/javascript",
                  "exec": [
                    "",
                    "        if (JSON.setEnableBigInt) {",
                    "          JSON.setEnableBigInt(undefined);",
                    "        }",
                    "        ",
                    "      async function ____replaceIn(value) {",
                    "        if (typeof pm.variables.replaceInAsync === 'function') {",
                    "          return await pm.variables.replaceInAsync(value);",
                    "        }",
                    "        return pm.variables.replaceIn(value);",
                    "      };",
                    "      ;(async () => {",
                    "        try{",
                    "          ",
                    "          const expression = await ____replaceIn(`$.data.staff_uuid`);",
                    "          const JSONPath = require('jsonpath-plus').JSONPath;",
                    "          const jsonData = pm.response.json();",
                    "          let value = JSONPath({",
                    "            json: jsonData,",
                    "            path: expression,",
                    "            wrap: false",
                    "          });",
                    "",
                    "",
                    "          if (false && undefined !== undefined) {",
                    "            if (Array.isArray(value)) {",
                    "              value = Number(undefined) >= 0 ? value[undefined] : value[value.length + Number(undefined)];",
                    "            } else {",
                    "              value = undefined;",
                    "            }",
                    "          }",
                    "          ",
                    "          ",
                    "        switch (typeof value) {",
                    "          case 'object':",
                    "            value = JSON.stringify(value);",
                    "            break;",
                    "          default:",
                    "            value = String(value);",
                    "            break;",
                    "        }",
                    "      ",
                    "          const formattedName = await ____replaceIn(`人员id`);pm.variables.set(formattedName, value);console.log('___label_placeholder__processor___', 'The value of the Local variable ' + formattedName + ' has been set to' + ' ' + '' + value + '')",
                    "        } catch(e) {",
                    "          e.message = `error occurred in extracting variable 人员id, error message: ` + e.message;",
                    "          setImmediate(() => { throw e });",
                    "        }",
                    "      })();",
                    "      "
                  ]
                }
              },
              {
                "listen": "test",
                "script": {
                  "id": "postProcessors.1.extractor",
                  "type": "text/javascript",
                  "exec": [
                    "",
                    "        if (JSON.setEnableBigInt) {",
                    "          JSON.setEnableBigInt(undefined);",
                    "        }",
                    "        ",
                    "      async function ____replaceIn(value) {",
                    "        if (typeof pm.variables.replaceInAsync === 'function') {",
                    "          return await pm.variables.replaceInAsync(value);",
                    "        }",
                    "        return pm.variables.replaceIn(value);",
                    "      };",
                    "      ;(async () => {",
                    "        try{",
                    "          ",
                    "          const expression = await ____replaceIn(`$.data.uuid`);",
                    "          const JSONPath = require('jsonpath-plus').JSONPath;",
                    "          const jsonData = pm.response.json();",
                    "          let value = JSONPath({",
                    "            json: jsonData,",
                    "            path: expression,",
                    "            wrap: false",
                    "          });",
                    "",
                    "",
                    "          if (false && undefined !== undefined) {",
                    "            if (Array.isArray(value)) {",
                    "              value = Number(undefined) >= 0 ? value[undefined] : value[value.length + Number(undefined)];",
                    "            } else {",
                    "              value = undefined;",
                    "            }",
                    "          }",
                    "          ",
                    "          ",
                    "        switch (typeof value) {",
                    "          case 'object':",
                    "            value = JSON.stringify(value);",
                    "            break;",
                    "          default:",
                    "            value = String(value);",
                    "            break;",
                    "        }",
                    "      ",
                    "          const formattedName = await ____replaceIn(`id`);pm.variables.set(formattedName, value);console.log('___label_placeholder__processor___', 'The value of the Local variable ' + formattedName + ' has been set to' + ' ' + '' + value + '')",
                    "        } catch(e) {",
                    "          e.message = `error occurred in extracting variable id, error message: ` + e.message;",
                    "          setImmediate(() => { throw e });",
                    "        }",
                    "      })();",
                    "      "
                  ]
                }
              },
              {
                "listen": "test",
                "script": {
                  "id": "postProcessors.2.assertion",
                  "type": "text/javascript",
                  "exec": [
                    "",
                    "        if (JSON.setEnableBigInt) {",
                    "          JSON.setEnableBigInt(undefined);",
                    "        }",
                    "        ",
                    "  async function ____replaceIn(value) {",
                    "    if (typeof pm.variables.replaceInAsync === 'function') {",
                    "      return await pm.variables.replaceInAsync(value);",
                    "    }",
                    "    return pm.variables.replaceIn(value);",
                    "  };",
                    "",
                    "  ;(async () => {",
                    "    try {",
                    "      const formattedName = await ____replaceIn(`$.message Equals 登陆成功`);",
                    "      pm.test(formattedName, async function(done) {",
                    "        try {",
                    "          ",
                    "          const expression = await ____replaceIn(`$.message`);",
                    "          const JSONPath = require('jsonpath-plus').JSONPath;",
                    "          let jsonData;",
                    "          try {",
                    "            jsonData = pm.response.json();",
                    "          } catch(e) {",
                    "            let text = pm.response.text();",
                    "            const xml2js = require('xml2js');",
                    "            function removeXmlUselessPrefixAndSuffix(text) {",
                    "              const start = text.indexOf('<');",
                    "              const end = text.lastIndexOf('>');",
                    "              if (start === -1 || end === -1) {",
                    "                return text;",
                    "              }",
                    "              return text.substring(start, end + 1);",
                    "            }",
                    "            text = removeXmlUselessPrefixAndSuffix(text);",
                    "            let json;",
                    "            let xmlParseOptions = {",
                    "                explicitArray: false,",
                    "                trim: true,",
                    "                ignoreAttrs: true,",
                    "            };",
                    "            xml2js.parseString(text, xmlParseOptions, function (_, result) {",
                    "                jsonData = result;",
                    "            });",
                    "          }",
                    "          let value = JSONPath({",
                    "            json: jsonData,",
                    "            path: expression,",
                    "            wrap: false",
                    "          });",
                    "",
                    "          if (false && undefined !== undefined) {",
                    "            if (Array.isArray(value)) {",
                    "              value = Number(undefined) >= 0 ? value[undefined] : value[value.length + Number(undefined)];",
                    "            } else {",
                    "              value = undefined;",
                    "            }",
                    "          }",
                    "",
                    "          ",
                    "          ",
                    "    const compareValue = await ____replaceIn(`登陆成功`);",
                    "    const formattedValues = ____formatValues(value, compareValue, 'equal');",
                    "  ",
                    "          pm.expect(formattedValues.value).to.eql(formattedValues.compareValue);",
                    "          done();",
                    "        } catch (err) {",
                    "          done(err);",
                    "        }",
                    "      });",
                    "    } catch(e) {",
                    "      setImmediate(() => { throw e });",
                    "    }",
                    "  })();",
                    "      "
                  ]
                }
              },
              {
                "listen": "test",
                "script": {
                  "id": "postProcessors.3.extractor",
                  "type": "text/javascript",
                  "exec": [
                    "",
                    "        if (JSON.setEnableBigInt) {",
                    "          JSON.setEnableBigInt(undefined);",
                    "        }",
                    "        ",
                    "      async function ____replaceIn(value) {",
                    "        if (typeof pm.variables.replaceInAsync === 'function') {",
                    "          return await pm.variables.replaceInAsync(value);",
                    "        }",
                    "        return pm.variables.replaceIn(value);",
                    "      };",
                    "      ;(async () => {",
                    "        try{",
                    "          ",
                    "          const expression = await ____replaceIn(`$.data._token`);",
                    "          const JSONPath = require('jsonpath-plus').JSONPath;",
                    "          const jsonData = pm.response.json();",
                    "          let value = JSONPath({",
                    "            json: jsonData,",
                    "            path: expression,",
                    "            wrap: false",
                    "          });",
                    "",
                    "",
                    "          if (false && undefined !== undefined) {",
                    "            if (Array.isArray(value)) {",
                    "              value = Number(undefined) >= 0 ? value[undefined] : value[value.length + Number(undefined)];",
                    "            } else {",
                    "              value = undefined;",
                    "            }",
                    "          }",
                    "          ",
                    "          ",
                    "        switch (typeof value) {",
                    "          case 'object':",
                    "            value = JSON.stringify(value);",
                    "            break;",
                    "          default:",
                    "            value = String(value);",
                    "            break;",
                    "        }",
                    "      ",
                    "          const formattedName = await ____replaceIn(`to`);pm.globals.set(formattedName, value);console.log('___label_placeholder__processor___', 'The value of the Global variable ' + formattedName + ' has been set to' + ' ' + '' + value + '')",
                    "        } catch(e) {",
                    "          e.message = `error occurred in extracting variable to, error message: ` + e.message;",
                    "          setImmediate(() => { throw e });",
                    "        }",
                    "      })();",
                    "      "
                  ]
                }
              }
            ],
            "type": "http",
            "metaInfo": {
              "blockId": "37c6aaf2-5368-4da8-9de2-2713959c8bda",
              "id": "37c6aaf2-5368-4da8-9de2-2713959c8bda",
              "type": "http",
              "name": "账号登录",
              "projectId": 5737553,
              "relatedId": 6107518,
              "environmentId": 28851641,
              "blockNumber": 1,
              "tags": [],
              "httpApiId": 252596404,
              "httpApiCaseId": 238980782,
              "httpApiName": "账号登录",
              "httpApiPath": "https://zhct.yyangpt.cn//m/login/logon",
              "httpApiMethod": "post",
              "httpApiCaseName": "账号登录",
              "moduleId": 4788005,
              "serverId": "default"
            },
            "protocolProfileBehavior": {
              "useWhatWGUrlParser": false,
              "disableUrlEncoding": false,
              "disabledSystemHeaders": {},
              "disableCookies": false
            },
            "responseDefinition": {
              "createdAt": "2025-08-28T12:20:44.527Z",
              "updatedAt": "2025-08-28T12:20:44.527Z",
              "name": "成功",
              "code": 200,
              "contentType": "json",
              "description": "",
              "headers": [],
              "mediaType": "",
              "jsonSchema": {
                "type": "object",
                "properties": {},
                "x-apifox-orders": []
              },
              "defaultEnable": true,
              "projectId": 5737553,
              "ordering": 0,
              "oasExtensions": "",
              "apiDetailId": 252596404,
              "id": 599581626,
              "schemaDefinitions": {}
            },
            "requestDefinition": {
              "jsonSchema": {},
              "examples": []
            },
            "overrideRequesterOptions": {
              "strictSSL": false
            }
          },
          {
            "id": "d07cf840-1ed6-4b9e-b9f8-f9da66ad4fe1",
            "name": "餐盘绑定",
            "request": {
              "url": {
                "protocol": "https",
                "path": [
                  "",
                  "p",
                  "api",
                  "bindPlate"
                ],
                "host": [
                  "zhct",
                  "yyangpt",
                  "cn"
                ],
                "query": [],
                "variable": []
              },
              "header": [
                {
                  "key": "Cookie",
                  "value": "{{to}}"
                },
                {
                  "key": "Access-Token",
                  "value": "{{terminal_token}}"
                },
                {
                  "key": "User-Agent",
                  "value": "app/1.0.0"
                }
              ],
              "method": "POST",
              "body": {
                "mode": "formdata",
                "formdata": [
                  {
                    "disabled": false,
                    "key": "staff_uuid",
                    "value": "2C9008CF-779D-6558-200C-5A5E68BD2EAB",
                    "type": "string"
                  },
                  {
                    "disabled": false,
                    "key": "plate_code",
                    "value": "00000000051",
                    "type": "string"
                  },
                  {
                    "disabled": false,
                    "key": "equipment_code",
                    "value": "000000001",
                    "type": "string"
                  }
                ]
              },
              "type": "http"
            },
            "response": [],
            "event": [
              {
                "listen": "prerequest",
                "script": {
                  "id": "commonScript.assertion",
                  "type": "text/javascript",
                  "exec": [
                    "",
                    "  ____string2Array = function(value) {",
                    "    if(typeof value === 'object'){",
                    "      return value;",
                    "    }",
                    "    try {",
                    "      return JSON.parse(value);",
                    "    } catch (e) {",
                    "      return value;",
                    "    }",
                    "  }",
                    "  ____string2Number = function(value, errorMsg) {",
                    "   if(typeof value !== 'string'){",
                    "     return value;",
                    "   }",
                    "   if (/^\\-?\\d+$/.test(value)) {",
                    "       return parseInt(value);",
                    "   } else if (/^\\-?\\d+\\.\\d+$/.test(value)) {",
                    "       return parseFloat(value);",
                    "   } else {",
                    "       throw new Error(errorMsg || 'Data type mismatch')",
                    "   }",
                    " }",
                    "",
                    "  ____formatValues = function(value, stringCompareValue, comparison) {",
                    "   try{",
                    "     const isNumberComparisons = ['isBelow', 'isAtMost', 'isAbove', 'isAtLeast'].includes(comparison);",
                    "     const isCollectionComparisons = ['isOneOf', 'notOneOf'].includes(comparison);",
                    "     let compareValue;",
                    "     switch (typeof value) {",
                    "         case 'string':",
                    "             if (isNumberComparisons) {",
                    "                value = ____string2Number(value);",
                    "                compareValue = ____string2Number(stringCompareValue);",
                    "             } else if (isCollectionComparisons) {",
                    "                compareValue = ____string2Array(stringCompareValue);",
                    "             } else if (comparison === 'exists' || comparison === 'notExist') {",
                    "                value = /^({%.*%})|({{.*}})$/.test(value) ? undefined : value;",
                    "             } else {",
                    "                compareValue = stringCompareValue;",
                    "             }",
                    "             break;",
                    "         case 'object':",
                    "             const isArray = value instanceof Array;",
                    "             if (isNumberComparisons) {",
                    "                 throw new Error('Values of type object cannot be compared using the ' + comparison + ' method')",
                    "             } else if (isCollectionComparisons && isArray) {",
                    "              throw new Error('Values of type array cannot be compared using the ' + comparison + ' method')",
                    "            } else if (",
                    "              isArray &&",
                    "              comparison === 'include' &&",
                    "              value.includes(stringCompareValue)",
                    "            ) {",
                    "              compareValue = stringCompareValue;",
                    "            } else {",
                    "              try {",
                    "                  compareValue = JSON.parse(stringCompareValue);",
                    "              } catch (e) {",
                    "                  compareValue = stringCompareValue;",
                    "              }",
                    "            }",
                    "             break;",
                    "         case 'boolean':",
                    "             if (isNumberComparisons || isCollectionComparisons) {",
                    "                 throw new Error('Values of type boolean cannot be compared using the ' + comparison + ' method')",
                    "             }",
                    "             compareValue = stringCompareValue === 'true' ? true : (stringCompareValue === 'false' ? false : stringCompareValue);",
                    "             break;",
                    "           case 'bigint':",
                    "           case 'number':",
                    "             if (isNumberComparisons) {",
                    "               compareValue = ____string2Number(stringCompareValue);",
                    "             } else if (isCollectionComparisons) {",
                    "              compareValue = ____string2Array(stringCompareValue);",
                    "              value = '' + value;",
                    "            } else {",
                    "               compareValue = stringCompareValue;",
                    "               value = '' + value;",
                    "             }",
                    "             break;",
                    "         case 'null':",
                    "             if (isNumberComparisons) {",
                    "                 throw new Error('Values of type null cannot be compared using the ' + comparison + ' method')",
                    "             }",
                    "             compareValue = stringCompareValue === 'null' ? null : stringCompareValue;",
                    "             break;",
                    "         default:",
                    "            if (isCollectionComparisons) {",
                    "              compareValue = ____string2Array(stringCompareValue);",
                    "            } else {",
                    "              compareValue = stringCompareValue;",
                    "            }",
                    "            break;",
                    "     }",
                    "     return { compareValue, value };",
                    "   } catch(e) {",
                    "     console.log(e);",
                    "     throw e;",
                    "   }",
                    " }",
                    " "
                  ]
                }
              },
              {
                "listen": "test",
                "script": {
                  "id": "postProcessors.0.assertion",
                  "type": "text/javascript",
                  "exec": [
                    "",
                    "        if (JSON.setEnableBigInt) {",
                    "          JSON.setEnableBigInt(undefined);",
                    "        }",
                    "        ",
                    "  async function ____replaceIn(value) {",
                    "    if (typeof pm.variables.replaceInAsync === 'function') {",
                    "      return await pm.variables.replaceInAsync(value);",
                    "    }",
                    "    return pm.variables.replaceIn(value);",
                    "  };",
                    "",
                    "  ;(async () => {",
                    "    try {",
                    "      const formattedName = await ____replaceIn(`$.message Equals 绑定成功`);",
                    "      pm.test(formattedName, async function(done) {",
                    "        try {",
                    "          ",
                    "          const expression = await ____replaceIn(`$.message`);",
                    "          const JSONPath = require('jsonpath-plus').JSONPath;",
                    "          let jsonData;",
                    "          try {",
                    "            jsonData = pm.response.json();",
                    "          } catch(e) {",
                    "            let text = pm.response.text();",
                    "            const xml2js = require('xml2js');",
                    "            function removeXmlUselessPrefixAndSuffix(text) {",
                    "              const start = text.indexOf('<');",
                    "              const end = text.lastIndexOf('>');",
                    "              if (start === -1 || end === -1) {",
                    "                return text;",
                    "              }",
                    "              return text.substring(start, end + 1);",
                    "            }",
                    "            text = removeXmlUselessPrefixAndSuffix(text);",
                    "            let json;",
                    "            let xmlParseOptions = {",
                    "                explicitArray: false,",
                    "                trim: true,",
                    "                ignoreAttrs: true,",
                    "            };",
                    "            xml2js.parseString(text, xmlParseOptions, function (_, result) {",
                    "                jsonData = result;",
                    "            });",
                    "          }",
                    "          let value = JSONPath({",
                    "            json: jsonData,",
                    "            path: expression,",
                    "            wrap: false",
                    "          });",
                    "",
                    "          if (false && undefined !== undefined) {",
                    "            if (Array.isArray(value)) {",
                    "              value = Number(undefined) >= 0 ? value[undefined] : value[value.length + Number(undefined)];",
                    "            } else {",
                    "              value = undefined;",
                    "            }",
                    "          }",
                    "",
                    "          ",
                    "          ",
                    "    const compareValue = await ____replaceIn(`绑定成功`);",
                    "    const formattedValues = ____formatValues(value, compareValue, 'equal');",
                    "  ",
                    "          pm.expect(formattedValues.value).to.eql(formattedValues.compareValue);",
                    "          done();",
                    "        } catch (err) {",
                    "          done(err);",
                    "        }",
                    "      });",
                    "    } catch(e) {",
                    "      setImmediate(() => { throw e });",
                    "    }",
                    "  })();",
                    "      "
                  ]
                }
              },
              {
                "listen": "test",
                "script": {
                  "id": "postProcessors.1.extractor",
                  "type": "text/javascript",
                  "exec": [
                    "",
                    "        if (JSON.setEnableBigInt) {",
                    "          JSON.setEnableBigInt(undefined);",
                    "        }",
                    "        ",
                    "      async function ____replaceIn(value) {",
                    "        if (typeof pm.variables.replaceInAsync === 'function') {",
                    "          return await pm.variables.replaceInAsync(value);",
                    "        }",
                    "        return pm.variables.replaceIn(value);",
                    "      };",
                    "      ;(async () => {",
                    "        try{",
                    "          ",
                    "          const expression = await ____replaceIn(`$.data.bind_time`);",
                    "          const JSONPath = require('jsonpath-plus').JSONPath;",
                    "          const jsonData = pm.response.json();",
                    "          let value = JSONPath({",
                    "            json: jsonData,",
                    "            path: expression,",
                    "            wrap: false",
                    "          });",
                    "",
                    "",
                    "          if (false && undefined !== undefined) {",
                    "            if (Array.isArray(value)) {",
                    "              value = Number(undefined) >= 0 ? value[undefined] : value[value.length + Number(undefined)];",
                    "            } else {",
                    "              value = undefined;",
                    "            }",
                    "          }",
                    "          ",
                    "          ",
                    "        switch (typeof value) {",
                    "          case 'object':",
                    "            value = JSON.stringify(value);",
                    "            break;",
                    "          default:",
                    "            value = String(value);",
                    "            break;",
                    "        }",
                    "      ",
                    "          const formattedName = await ____replaceIn(`sh`);pm.variables.set(formattedName, value);console.log('___label_placeholder__processor___', 'The value of the Local variable ' + formattedName + ' has been set to' + ' ' + '' + value + '')",
                    "        } catch(e) {",
                    "          e.message = `error occurred in extracting variable sh, error message: ` + e.message;",
                    "          setImmediate(() => { throw e });",
                    "        }",
                    "      })();",
                    "      "
                  ]
                }
              },
              {
                "listen": "test",
                "script": {
                  "id": "postProcessors.2.customScript",
                  "type": "text/javascript",
                  "exec": [
                    "",
                    "        if (JSON.setEnableBigInt) {",
                    "          JSON.setEnableBigInt(undefined);",
                    "        }",
                    "        // 获取Apifox中名为sh的临时变量的值",
                    "var timeStr = pm.variables.get('sh');",
                    "console.log('获取到的timeStr原始值:', timeStr);",
                    "",
                    "// 如果获取到的时间字符串不为空",
                    "if (timeStr) {",
                    "    try {",
                    "        // 将时间字符串转换为Date对象（保持本地时间）",
                    "        var dateObj = new Date(timeStr);",
                    "        console.log('转换后的Date对象:', dateObj);",
                    "",
                    "        // 增加2分钟（2分钟 = 120000毫秒）",
                    "        dateObj.setTime(dateObj.getTime() + 120000);",
                    "        console.log('增加2分钟后的Date对象:', dateObj);",
                    "",
                    "        // 正确格式化本地时间为\"YYYY-MM-DD HH:MM:SS\"格式",
                    "        var newTimeStr = dateObj.getFullYear() + '-' + ",
                    "                         ('0' + (dateObj.getMonth() + 1)).slice(-2) + '-' + ",
                    "                         ('0' + dateObj.getDate()).slice(-2) + ' ' + ",
                    "                         ('0' + dateObj.getHours()).slice(-2) + ':' + ",
                    "                         ('0' + dateObj.getMinutes()).slice(-2) + ':' + ",
                    "                         ('0' + dateObj.getSeconds()).slice(-2);",
                    "        console.log('转换后的新时间字符串:', newTimeStr);",
                    "",
                    "        // 将新的时间值设置回Apifox的临时变量sh",
                    "        pm.variables.set('sh', newTimeStr);",
                    "        console.log('已将新时间值设置回sh变量，新值为:', newTimeStr);",
                    "    } catch (error) {",
                    "        console.error('处理时间时出错:', error);",
                    "    }",
                    "} else {",
                    "    console.log('未获取到名为sh的临时变量的值');",
                    "}",
                    "      "
                  ]
                }
              }
            ],
            "type": "http",
            "metaInfo": {
              "blockId": "5ba4ad85-4fde-4855-abc7-d5ee1de01547",
              "id": "5ba4ad85-4fde-4855-abc7-d5ee1de01547",
              "type": "http",
              "name": "餐盘绑定",
              "projectId": 5737553,
              "relatedId": 6107518,
              "environmentId": 28851641,
              "blockNumber": 2,
              "tags": [],
              "httpApiId": 252596572,
              "httpApiCaseId": 239084881,
              "httpApiName": "餐盘绑定",
              "httpApiPath": "https://zhct.yyangpt.cn//p/api/bindPlate",
              "httpApiMethod": "post",
              "httpApiCaseName": "餐盘绑定",
              "moduleId": 4788005,
              "serverId": "default"
            },
            "protocolProfileBehavior": {
              "useWhatWGUrlParser": false,
              "disableUrlEncoding": false,
              "disabledSystemHeaders": {},
              "disableCookies": false
            },
            "responseDefinition": {
              "id": 599581796,
              "name": "成功",
              "code": 200,
              "contentType": "json",
              "jsonSchema": {
                "type": "object",
                "properties": {},
                "x-apifox-orders": []
              },
              "description": "",
              "mediaType": "",
              "headers": [],
              "oasExtensions": "",
              "schemaDefinitions": {}
            },
            "requestDefinition": {
              "jsonSchema": {},
              "examples": []
            },
            "overrideRequesterOptions": {
              "strictSSL": false
            }
          },
          {
            "id": "84d2f2f3-938a-4708-bd3f-abf77d0779d8",
            "name": "查询餐盘是否绑定",
            "request": {
              "url": {
                "protocol": "https",
                "path": [
                  "p",
                  "api",
                  "selectPlate"
                ],
                "host": [
                  "zhct",
                  "yyangpt",
                  "cn"
                ],
                "query": [],
                "variable": []
              },
              "header": [
                {
                  "key": "Cookie",
                  "value": "{{to}}"
                },
                {
                  "key": "Access-Token",
                  "value": "{{terminal_token}}"
                },
                {
                  "key": "User-Agent",
                  "value": "app/1.0.0"
                }
              ],
              "method": "POST",
              "baseUrl": "https://zhct.yyangpt.cn",
              "body": {
                "mode": "formdata",
                "formdata": [
                  {
                    "disabled": false,
                    "key": "plate_code",
                    "value": "00000000051",
                    "type": "string"
                  }
                ]
              },
              "type": "http"
            },
            "response": [],
            "event": [
              {
                "listen": "prerequest",
                "script": {
                  "id": "preProcessors.0.customScript",
                  "type": "text/javascript",
                  "exec": [
                    "",
                    "        if (JSON.setEnableBigInt) {",
                    "          JSON.setEnableBigInt(undefined);",
                    "        }",
                    "        // 1. 获取当前时间（本地时区）",
                    "const now = new Date();",
                    "// 计算东八区（UTC + 8）的偏移量（以毫秒为单位），1 小时 = 3600000 毫秒，8 小时就是 8 * 3600000 毫秒",
                    "const offset = 8 * 3600000; ",
                    "// 调整时间戳",
                    "const adjustedTimestamp = now.getTime() + offset; ",
                    "const adjustedNow = new Date(adjustedTimestamp);",
                    "const currentTime = adjustedNow",
                    "   .toISOString()",
                    "   .replace('T', ' ')",
                    "   .substring(0, 19); ",
                    "",
                    "// 2. 将当前时间存储到临时变量中（这里 currentTime 本身就是临时变量，你也可以换个名字）",
                    "const tempTimeVariable = currentTime;",
                    "",
                    "// 3. 打印临时变量的值到控制台（可省略，仅用于查看验证）",
                    "console.log(\"的时间：\", tempTimeVariable);",
                    "",
                    "// 4. 将临时变量的值设置为环境变量pm.environment.set(\"timeFromTempVariable\", tempTimeVariable);",
                    "",
                    "// 如果你想设置为全局变量，取消注释下面这行代码",
                    "pm.globals.set(\"cee\", tempTimeVariable);",
                    "      "
                  ]
                }
              }
            ],
            "type": "http",
            "metaInfo": {
              "blockId": "41a9eb35-ab84-4880-a2c6-841c73b01b62",
              "id": "41a9eb35-ab84-4880-a2c6-841c73b01b62",
              "type": "http",
              "name": "查询餐盘是否绑定",
              "projectId": 5737553,
              "relatedId": 6107518,
              "environmentId": 28851641,
              "blockNumber": 3,
              "tags": [],
              "httpApiId": 252596578,
              "httpApiCaseId": 239094312,
              "httpApiName": "查询餐盘是否绑定",
              "httpApiPath": "/p/api/selectPlate",
              "httpApiMethod": "post",
              "httpApiCaseName": "查询餐盘是否绑定",
              "moduleId": 4788005,
              "serverId": "default"
            },
            "protocolProfileBehavior": {
              "useWhatWGUrlParser": false,
              "disableUrlEncoding": false,
              "disabledSystemHeaders": {},
              "disableCookies": false
            },
            "responseDefinition": {
              "validateDeletedResponse": false
            },
            "requestDefinition": {
              "jsonSchema": {},
              "examples": []
            },
            "overrideRequesterOptions": {
              "strictSSL": false
            }
          },
          {
            "id": "9a23dca2-2278-4c83-906f-d4a7f8d3980b",
            "name": "职工食堂推送菜品",
            "request": {
              "url": {
                "protocol": "https",
                "path": [
                  "p",
                  "api",
                  "zhctPushMeal"
                ],
                "host": [
                  "zhct",
                  "yyangpt",
                  "cn"
                ],
                "query": [],
                "variable": []
              },
              "header": [
                {
                  "key": "Cookie",
                  "value": "{{to}}"
                },
                {
                  "key": "Access-Token",
                  "value": "{{terminal_token}}"
                },
                {
                  "key": "User-Agent",
                  "value": "app/1.0.0"
                }
              ],
              "method": "POST",
              "baseUrl": "https://zhct.yyangpt.cn",
              "body": {
                "mode": "formdata",
                "formdata": [
                  {
                    "disabled": false,
                    "key": "dish_info",
                    "value": "{\"create_date\":\"{{sh}}\",\"details\":[{\"uuid\": \"E309D831-10C5-4704-F67C-87A59CC3C0B2\",\"weight\":60}]}",
                    "type": "string"
                  },
                  {
                    "disabled": false,
                    "key": "code",
                    "value": "00000000051",
                    "type": "string"
                  },
                  {
                    "disabled": false,
                    "key": "equipment_code",
                    "value": "000000001",
                    "type": "string"
                  }
                ]
              },
              "type": "http"
            },
            "response": [],
            "event": [
              {
                "listen": "prerequest",
                "script": {
                  "id": "commonScript.assertion",
                  "type": "text/javascript",
                  "exec": [
                    "",
                    "  ____string2Array = function(value) {",
                    "    if(typeof value === 'object'){",
                    "      return value;",
                    "    }",
                    "    try {",
                    "      return JSON.parse(value);",
                    "    } catch (e) {",
                    "      return value;",
                    "    }",
                    "  }",
                    "  ____string2Number = function(value, errorMsg) {",
                    "   if(typeof value !== 'string'){",
                    "     return value;",
                    "   }",
                    "   if (/^\\-?\\d+$/.test(value)) {",
                    "       return parseInt(value);",
                    "   } else if (/^\\-?\\d+\\.\\d+$/.test(value)) {",
                    "       return parseFloat(value);",
                    "   } else {",
                    "       throw new Error(errorMsg || 'Data type mismatch')",
                    "   }",
                    " }",
                    "",
                    "  ____formatValues = function(value, stringCompareValue, comparison) {",
                    "   try{",
                    "     const isNumberComparisons = ['isBelow', 'isAtMost', 'isAbove', 'isAtLeast'].includes(comparison);",
                    "     const isCollectionComparisons = ['isOneOf', 'notOneOf'].includes(comparison);",
                    "     let compareValue;",
                    "     switch (typeof value) {",
                    "         case 'string':",
                    "             if (isNumberComparisons) {",
                    "                value = ____string2Number(value);",
                    "                compareValue = ____string2Number(stringCompareValue);",
                    "             } else if (isCollectionComparisons) {",
                    "                compareValue = ____string2Array(stringCompareValue);",
                    "             } else if (comparison === 'exists' || comparison === 'notExist') {",
                    "                value = /^({%.*%})|({{.*}})$/.test(value) ? undefined : value;",
                    "             } else {",
                    "                compareValue = stringCompareValue;",
                    "             }",
                    "             break;",
                    "         case 'object':",
                    "             const isArray = value instanceof Array;",
                    "             if (isNumberComparisons) {",
                    "                 throw new Error('Values of type object cannot be compared using the ' + comparison + ' method')",
                    "             } else if (isCollectionComparisons && isArray) {",
                    "              throw new Error('Values of type array cannot be compared using the ' + comparison + ' method')",
                    "            } else if (",
                    "              isArray &&",
                    "              comparison === 'include' &&",
                    "              value.includes(stringCompareValue)",
                    "            ) {",
                    "              compareValue = stringCompareValue;",
                    "            } else {",
                    "              try {",
                    "                  compareValue = JSON.parse(stringCompareValue);",
                    "              } catch (e) {",
                    "                  compareValue = stringCompareValue;",
                    "              }",
                    "            }",
                    "             break;",
                    "         case 'boolean':",
                    "             if (isNumberComparisons || isCollectionComparisons) {",
                    "                 throw new Error('Values of type boolean cannot be compared using the ' + comparison + ' method')",
                    "             }",
                    "             compareValue = stringCompareValue === 'true' ? true : (stringCompareValue === 'false' ? false : stringCompareValue);",
                    "             break;",
                    "           case 'bigint':",
                    "           case 'number':",
                    "             if (isNumberComparisons) {",
                    "               compareValue = ____string2Number(stringCompareValue);",
                    "             } else if (isCollectionComparisons) {",
                    "              compareValue = ____string2Array(stringCompareValue);",
                    "              value = '' + value;",
                    "            } else {",
                    "               compareValue = stringCompareValue;",
                    "               value = '' + value;",
                    "             }",
                    "             break;",
                    "         case 'null':",
                    "             if (isNumberComparisons) {",
                    "                 throw new Error('Values of type null cannot be compared using the ' + comparison + ' method')",
                    "             }",
                    "             compareValue = stringCompareValue === 'null' ? null : stringCompareValue;",
                    "             break;",
                    "         default:",
                    "            if (isCollectionComparisons) {",
                    "              compareValue = ____string2Array(stringCompareValue);",
                    "            } else {",
                    "              compareValue = stringCompareValue;",
                    "            }",
                    "            break;",
                    "     }",
                    "     return { compareValue, value };",
                    "   } catch(e) {",
                    "     console.log(e);",
                    "     throw e;",
                    "   }",
                    " }",
                    " "
                  ]
                }
              },
              {
                "listen": "prerequest",
                "script": {
                  "id": "preProcessors.0.customScript",
                  "type": "text/javascript",
                  "exec": [
                    "",
                    "        if (JSON.setEnableBigInt) {",
                    "          JSON.setEnableBigInt(undefined);",
                    "        }",
                    "        // 1. 获取当前时间（东八区）",
                    "// 创建一个 Date 对象表示当前时间",
                    "const now = new Date();",
                    "// 将当前时间转换为东八区的日期字符串",
                    "const currentDate = now.toLocaleString('zh-CN', {",
                    "    timeZone: 'Asia/Shanghai',",
                    "    year: 'numeric',",
                    "    month: '2-digit',",
                    "    day: '2-digit'",
                    "}).split(' ')[0].replace(/\\//g, '-');",
                    "",
                    "// 2. 将当前日期存储到临时变量中",
                    "const tempDateVariable = currentDate;",
                    "",
                    "// 3. 打印临时变量的值到控制台（可省略，仅用于查看验证）",
                    "console.log(\"当前日期：\", tempDateVariable);",
                    "",
                    "// 4. 将临时变量的值设置为环境变量pm.environment.set(\"dateFromTempVariable\", tempDateVariable);",
                    "",
                    "// 如果你想设置为全局变量，取消注释下面这行代码",
                    "pm.globals.set(\"dateFromTempVariable\", tempDateVariable);",
                    "      "
                  ]
                }
              },
              {
                "listen": "test",
                "script": {
                  "id": "postProcessors.0.assertion",
                  "type": "text/javascript",
                  "exec": [
                    "",
                    "        if (JSON.setEnableBigInt) {",
                    "          JSON.setEnableBigInt(undefined);",
                    "        }",
                    "        ",
                    "  async function ____replaceIn(value) {",
                    "    if (typeof pm.variables.replaceInAsync === 'function') {",
                    "      return await pm.variables.replaceInAsync(value);",
                    "    }",
                    "    return pm.variables.replaceIn(value);",
                    "  };",
                    "",
                    "  ;(async () => {",
                    "    try {",
                    "      const formattedName = await ____replaceIn(`$.message Equals 推送成功`);",
                    "      pm.test(formattedName, async function(done) {",
                    "        try {",
                    "          ",
                    "          const expression = await ____replaceIn(`$.message`);",
                    "          const JSONPath = require('jsonpath-plus').JSONPath;",
                    "          let jsonData;",
                    "          try {",
                    "            jsonData = pm.response.json();",
                    "          } catch(e) {",
                    "            let text = pm.response.text();",
                    "            const xml2js = require('xml2js');",
                    "            function removeXmlUselessPrefixAndSuffix(text) {",
                    "              const start = text.indexOf('<');",
                    "              const end = text.lastIndexOf('>');",
                    "              if (start === -1 || end === -1) {",
                    "                return text;",
                    "              }",
                    "              return text.substring(start, end + 1);",
                    "            }",
                    "            text = removeXmlUselessPrefixAndSuffix(text);",
                    "            let json;",
                    "            let xmlParseOptions = {",
                    "                explicitArray: false,",
                    "                trim: true,",
                    "                ignoreAttrs: true,",
                    "            };",
                    "            xml2js.parseString(text, xmlParseOptions, function (_, result) {",
                    "                jsonData = result;",
                    "            });",
                    "          }",
                    "          let value = JSONPath({",
                    "            json: jsonData,",
                    "            path: expression,",
                    "            wrap: false",
                    "          });",
                    "",
                    "          if (false && undefined !== undefined) {",
                    "            if (Array.isArray(value)) {",
                    "              value = Number(undefined) >= 0 ? value[undefined] : value[value.length + Number(undefined)];",
                    "            } else {",
                    "              value = undefined;",
                    "            }",
                    "          }",
                    "",
                    "          ",
                    "          ",
                    "    const compareValue = await ____replaceIn(`推送成功`);",
                    "    const formattedValues = ____formatValues(value, compareValue, 'equal');",
                    "  ",
                    "          pm.expect(formattedValues.value).to.eql(formattedValues.compareValue);",
                    "          done();",
                    "        } catch (err) {",
                    "          done(err);",
                    "        }",
                    "      });",
                    "    } catch(e) {",
                    "      setImmediate(() => { throw e });",
                    "    }",
                    "  })();",
                    "      "
                  ]
                }
              }
            ],
            "type": "http",
            "metaInfo": {
              "blockId": "cc851c3f-16fb-40cb-a8f5-bde979abc339",
              "id": "cc851c3f-16fb-40cb-a8f5-bde979abc339",
              "type": "http",
              "name": "职工食堂推送菜品",
              "projectId": 5737553,
              "relatedId": 6107518,
              "environmentId": 28851641,
              "blockNumber": 4,
              "tags": [],
              "httpApiId": 252596577,
              "httpApiCaseId": 239096329,
              "httpApiName": "职工食堂推送菜品",
              "httpApiPath": "/p/api/zhctPushMeal",
              "httpApiMethod": "post",
              "httpApiCaseName": "职工食堂推送菜品",
              "moduleId": 4788005,
              "serverId": "default"
            },
            "protocolProfileBehavior": {
              "useWhatWGUrlParser": false,
              "disableUrlEncoding": false,
              "disabledSystemHeaders": {},
              "disableCookies": false
            },
            "responseDefinition": {
              "validateDeletedResponse": false
            },
            "requestDefinition": {
              "jsonSchema": {},
              "examples": []
            },
            "overrideRequesterOptions": {
              "strictSSL": false
            }
          },
          {
            "id": "7a978522-443c-497c-8db5-ae441440488b",
            "name": "手机端营养报告查询",
            "request": {
              "url": {
                "protocol": "https",
                "path": [
                  "m",
                  "OneMeal",
                  "oneMeal"
                ],
                "host": [
                  "zhct",
                  "yyangpt",
                  "cn"
                ],
                "query": [],
                "variable": []
              },
              "header": [
                {
                  "key": "Cookie",
                  "value": "{{to}}"
                },
                {
                  "key": "User-Agent",
                  "value": "app/1.0.0"
                }
              ],
              "method": "POST",
              "body": {
                "mode": "formdata",
                "formdata": [
                  {
                    "disabled": false,
                    "key": "date",
                    "value": "{{dateFromTempVariable}}",
                    "type": "string"
                  },
                  {
                    "disabled": false,
                    "key": "meal",
                    "value": "2",
                    "type": "string"
                  }
                ]
              },
              "type": "http"
            },
            "response": [],
            "event": [],
            "type": "http",
            "metaInfo": {
              "blockId": "e72185b6-32e5-44ad-bd9d-234e3753b43f",
              "id": "e72185b6-32e5-44ad-bd9d-234e3753b43f",
              "type": "http",
              "name": "手机端营养报告查询",
              "projectId": 5737553,
              "relatedId": 6107518,
              "environmentId": 28851641,
              "blockNumber": 5,
              "tags": [],
              "httpApiId": 268206668,
              "httpApiCaseId": 239208922,
              "httpApiName": "手机端营养报告查询",
              "httpApiPath": "https://zhct.yyangpt.cn/m/OneMeal/oneMeal",
              "httpApiMethod": "post",
              "httpApiCaseName": "手机端营养报告查询",
              "moduleId": 4788005,
              "serverId": "default"
            },
            "protocolProfileBehavior": {
              "useWhatWGUrlParser": false,
              "disableUrlEncoding": false,
              "disabledSystemHeaders": {},
              "disableCookies": false
            },
            "responseDefinition": {
              "validateDeletedResponse": false
            },
            "requestDefinition": {
              "jsonSchema": {},
              "examples": []
            },
            "overrideRequesterOptions": {
              "strictSSL": false
            }
          }
        ],
        "name": "用户流程"
      }
    ],
    "info": {
      "name": "用户流程",
      "folderName": "智慧健康餐厅主流程"
    },
    "dataSchemas": {},
    "mockRules": {
      "rules": [],
      "enableSystemRule": true
    },
    "environment": {
      "id": 28851641,
      "name": "商户端产业园演示环境",
      "type": "normal",
      "baseUrls": {
        "default": "https://zhct.yyangpt.cn"
      },
      "websocketBaseUrls": {},
      "socketioBaseUrls": {},
      "baseUrl": "https://zhct.yyangpt.cn",
      "variable": {
        "id": "85b087cf-a0d0-47f1-aceb-14c86cb17b19",
        "name": "商户端产业园演示环境",
        "baseUrl": "https://zhct.yyangpt.cn",
        "baseUrls": {
          "default": "https://zhct.yyangpt.cn"
        },
        "values": [
          {
            "type": "any",
            "value": "",
            "key": "dateFromTempVariable",
            "isBindInitial": false,
            "initialValue": ""
          },
          {
            "type": "any",
            "value": "",
            "key": "bindTime",
            "isBindInitial": false,
            "initialValue": ""
          },
          {
            "type": "any",
            "value": "",
            "key": "delayedBindTime",
            "isBindInitial": false,
            "initialValue": ""
          },
          {
            "type": "any",
            "value": "",
            "key": "formattedDelayedTime",
            "isBindInitial": false,
            "initialValue": ""
          },
          {
            "type": "any",
            "value": "",
            "key": "zqa",
            "isBindInitial": false,
            "initialValue": ""
          }
        ]
      },
      "parameter": {
        "header": [],
        "query": [],
        "body": [],
        "cookie": []
      },
      "advancedSettings": {
        "default": {
          "requestProxySetting": {
            "type": "default",
            "agentId": 2
          }
        }
      }
    },
    "globals": {
      "baseUrls": {},
      "websocketBaseUrls": {},
      "socketioBaseUrls": {},
      "baseUrl": "",
      "variable": {
        "id": "2599dd67-c020-4332-8def-52dbf26a279f",
        "baseUrl": "",
        "baseUrls": {},
        "values": [
          {
            "type": "any",
            "value": "",
            "key": "uuid",
            "isBindInitial": true,
            "initialValue": ""
          },
          {
            "type": "any",
            "value": "",
            "key": "提取菜品uuid",
            "isBindInitial": true,
            "initialValue": ""
          },
          {
            "type": "any",
            "value": "",
            "key": "提取菜品名称",
            "isBindInitial": true,
            "initialValue": ""
          },
          {
            "type": "any",
            "value": "",
            "key": "to",
            "isBindInitial": true,
            "initialValue": ""
          },
          {
            "type": "any",
            "value": "",
            "key": "shijian",
            "isBindInitial": true,
            "initialValue": ""
          },
          {
            "type": "any",
            "value": "",
            "key": "dateFromTempVariable",
            "isBindInitial": true,
            "initialValue": ""
          },
          {
            "type": "any",
            "value": "",
            "key": "cee",
            "isBindInitial": true,
            "initialValue": ""
          },
          {
            "type": "any",
            "value": "",
            "key": "sh",
            "isBindInitial": true,
            "initialValue": ""
          },
          {
            "type": "any",
            "value": "onlineshopmall",
            "key": "account-dev",
            "isBindInitial": true,
            "initialValue": "onlineshopmall"
          },
          {
            "type": "any",
            "value": "Shop@2025#Mall&88",
            "key": "pwd-dev",
            "isBindInitial": true,
            "initialValue": "Shop@2025#Mall&88"
          },
          {
            "type": "any",
            "value": "7E3A9D2C5F8B1E4G6H0J2K9L4M1N3P5Q",
            "key": "key-dev",
            "isBindInitial": true,
            "initialValue": "7E3A9D2C5F8B1E4G6H0J2K9L4M1N3P5Q"
          }
        ]
      },
      "parameter": {
        "header": [],
        "query": [],
        "body": [],
        "cookie": []
      }
    },
    "teamGlobals": {
      "baseUrls": {},
      "websocketBaseUrls": {},
      "socketioBaseUrls": {},
      "baseUrl": "",
      "variable": {
        "id": "257f447c-0a45-4e4a-ba76-caf9ba466c73",
        "baseUrl": "",
        "baseUrls": {},
        "values": []
      },
      "parameter": {
        "header": [],
        "query": [],
        "body": [],
        "cookie": []
      }
    },
    "moduleVariablesMap": {
      "4788005": []
    },
    "isServerBuild": true,
    "isTestFlowControl": false,
    "collectionDefinition": {
      "apifoxCli": "1.1.0",
      "item": [
        {
          "item": [
            {
              "id": "c644a7d8-843f-4a6a-a75b-3a8a68cc21c3",
              "name": "账号登录",
              "request": {
                "url": {
                  "protocol": "https",
                  "path": [
                    "",
                    "m",
                    "login",
                    "logon"
                  ],
                  "host": [
                    "zhct",
                    "yyangpt",
                    "cn"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "disabled": true,
                    "key": "Cookie",
                    "value": "_token=ABtQ0NxLpaiFEQB1Sdh0tAyGn2CikVRK%2FQAw82o2Xz2u%2BcoYilioPapdb7NVWwhM1BrAhAB0SpXKWMB1xik12g%3D%3D"
                  },
                  {
                    "key": "Access-Token",
                    "value": "{{terminal_token}}"
                  },
                  {
                    "key": "User-Agent",
                    "value": "app/1.0.0"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "disabled": false,
                      "key": "account",
                      "value": "17600797212",
                      "type": "string"
                    },
                    {
                      "disabled": false,
                      "key": "pwd",
                      "value": "cpt123",
                      "type": "string"
                    }
                  ]
                },
                "type": "http"
              },
              "response": [],
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "id": "commonScript.assertion",
                    "type": "text/javascript",
                    "exec": [
                      "",
                      "  ____string2Array = function(value) {",
                      "    if(typeof value === 'object'){",
                      "      return value;",
                      "    }",
                      "    try {",
                      "      return JSON.parse(value);",
                      "    } catch (e) {",
                      "      return value;",
                      "    }",
                      "  }",
                      "  ____string2Number = function(value, errorMsg) {",
                      "   if(typeof value !== 'string'){",
                      "     return value;",
                      "   }",
                      "   if (/^\\-?\\d+$/.test(value)) {",
                      "       return parseInt(value);",
                      "   } else if (/^\\-?\\d+\\.\\d+$/.test(value)) {",
                      "       return parseFloat(value);",
                      "   } else {",
                      "       throw new Error(errorMsg || 'Data type mismatch')",
                      "   }",
                      " }",
                      "",
                      "  ____formatValues = function(value, stringCompareValue, comparison) {",
                      "   try{",
                      "     const isNumberComparisons = ['isBelow', 'isAtMost', 'isAbove', 'isAtLeast'].includes(comparison);",
                      "     const isCollectionComparisons = ['isOneOf', 'notOneOf'].includes(comparison);",
                      "     let compareValue;",
                      "     switch (typeof value) {",
                      "         case 'string':",
                      "             if (isNumberComparisons) {",
                      "                value = ____string2Number(value);",
                      "                compareValue = ____string2Number(stringCompareValue);",
                      "             } else if (isCollectionComparisons) {",
                      "                compareValue = ____string2Array(stringCompareValue);",
                      "             } else if (comparison === 'exists' || comparison === 'notExist') {",
                      "                value = /^({%.*%})|({{.*}})$/.test(value) ? undefined : value;",
                      "             } else {",
                      "                compareValue = stringCompareValue;",
                      "             }",
                      "             break;",
                      "         case 'object':",
                      "             const isArray = value instanceof Array;",
                      "             if (isNumberComparisons) {",
                      "                 throw new Error('Values of type object cannot be compared using the ' + comparison + ' method')",
                      "             } else if (isCollectionComparisons && isArray) {",
                      "              throw new Error('Values of type array cannot be compared using the ' + comparison + ' method')",
                      "            } else if (",
                      "              isArray &&",
                      "              comparison === 'include' &&",
                      "              value.includes(stringCompareValue)",
                      "            ) {",
                      "              compareValue = stringCompareValue;",
                      "            } else {",
                      "              try {",
                      "                  compareValue = JSON.parse(stringCompareValue);",
                      "              } catch (e) {",
                      "                  compareValue = stringCompareValue;",
                      "              }",
                      "            }",
                      "             break;",
                      "         case 'boolean':",
                      "             if (isNumberComparisons || isCollectionComparisons) {",
                      "                 throw new Error('Values of type boolean cannot be compared using the ' + comparison + ' method')",
                      "             }",
                      "             compareValue = stringCompareValue === 'true' ? true : (stringCompareValue === 'false' ? false : stringCompareValue);",
                      "             break;",
                      "           case 'bigint':",
                      "           case 'number':",
                      "             if (isNumberComparisons) {",
                      "               compareValue = ____string2Number(stringCompareValue);",
                      "             } else if (isCollectionComparisons) {",
                      "              compareValue = ____string2Array(stringCompareValue);",
                      "              value = '' + value;",
                      "            } else {",
                      "               compareValue = stringCompareValue;",
                      "               value = '' + value;",
                      "             }",
                      "             break;",
                      "         case 'null':",
                      "             if (isNumberComparisons) {",
                      "                 throw new Error('Values of type null cannot be compared using the ' + comparison + ' method')",
                      "             }",
                      "             compareValue = stringCompareValue === 'null' ? null : stringCompareValue;",
                      "             break;",
                      "         default:",
                      "            if (isCollectionComparisons) {",
                      "              compareValue = ____string2Array(stringCompareValue);",
                      "            } else {",
                      "              compareValue = stringCompareValue;",
                      "            }",
                      "            break;",
                      "     }",
                      "     return { compareValue, value };",
                      "   } catch(e) {",
                      "     console.log(e);",
                      "     throw e;",
                      "   }",
                      " }",
                      " "
                    ]
                  }
                },
                {
                  "listen": "test",
                  "script": {
                    "id": "postProcessors.0.extractor",
                    "type": "text/javascript",
                    "exec": [
                      "",
                      "        if (JSON.setEnableBigInt) {",
                      "          JSON.setEnableBigInt(undefined);",
                      "        }",
                      "        ",
                      "      async function ____replaceIn(value) {",
                      "        if (typeof pm.variables.replaceInAsync === 'function') {",
                      "          return await pm.variables.replaceInAsync(value);",
                      "        }",
                      "        return pm.variables.replaceIn(value);",
                      "      };",
                      "      ;(async () => {",
                      "        try{",
                      "          ",
                      "          const expression = await ____replaceIn(`$.data.staff_uuid`);",
                      "          const JSONPath = require('jsonpath-plus').JSONPath;",
                      "          const jsonData = pm.response.json();",
                      "          let value = JSONPath({",
                      "            json: jsonData,",
                      "            path: expression,",
                      "            wrap: false",
                      "          });",
                      "",
                      "",
                      "          if (false && undefined !== undefined) {",
                      "            if (Array.isArray(value)) {",
                      "              value = Number(undefined) >= 0 ? value[undefined] : value[value.length + Number(undefined)];",
                      "            } else {",
                      "              value = undefined;",
                      "            }",
                      "          }",
                      "          ",
                      "          ",
                      "        switch (typeof value) {",
                      "          case 'object':",
                      "            value = JSON.stringify(value);",
                      "            break;",
                      "          default:",
                      "            value = String(value);",
                      "            break;",
                      "        }",
                      "      ",
                      "          const formattedName = await ____replaceIn(`人员id`);pm.variables.set(formattedName, value);console.log('___label_placeholder__processor___', 'The value of the Local variable ' + formattedName + ' has been set to' + ' ' + '' + value + '')",
                      "        } catch(e) {",
                      "          e.message = `error occurred in extracting variable 人员id, error message: ` + e.message;",
                      "          setImmediate(() => { throw e });",
                      "        }",
                      "      })();",
                      "      "
                    ]
                  }
                },
                {
                  "listen": "test",
                  "script": {
                    "id": "postProcessors.1.extractor",
                    "type": "text/javascript",
                    "exec": [
                      "",
                      "        if (JSON.setEnableBigInt) {",
                      "          JSON.setEnableBigInt(undefined);",
                      "        }",
                      "        ",
                      "      async function ____replaceIn(value) {",
                      "        if (typeof pm.variables.replaceInAsync === 'function') {",
                      "          return await pm.variables.replaceInAsync(value);",
                      "        }",
                      "        return pm.variables.replaceIn(value);",
                      "      };",
                      "      ;(async () => {",
                      "        try{",
                      "          ",
                      "          const expression = await ____replaceIn(`$.data.uuid`);",
                      "          const JSONPath = require('jsonpath-plus').JSONPath;",
                      "          const jsonData = pm.response.json();",
                      "          let value = JSONPath({",
                      "            json: jsonData,",
                      "            path: expression,",
                      "            wrap: false",
                      "          });",
                      "",
                      "",
                      "          if (false && undefined !== undefined) {",
                      "            if (Array.isArray(value)) {",
                      "              value = Number(undefined) >= 0 ? value[undefined] : value[value.length + Number(undefined)];",
                      "            } else {",
                      "              value = undefined;",
                      "            }",
                      "          }",
                      "          ",
                      "          ",
                      "        switch (typeof value) {",
                      "          case 'object':",
                      "            value = JSON.stringify(value);",
                      "            break;",
                      "          default:",
                      "            value = String(value);",
                      "            break;",
                      "        }",
                      "      ",
                      "          const formattedName = await ____replaceIn(`id`);pm.variables.set(formattedName, value);console.log('___label_placeholder__processor___', 'The value of the Local variable ' + formattedName + ' has been set to' + ' ' + '' + value + '')",
                      "        } catch(e) {",
                      "          e.message = `error occurred in extracting variable id, error message: ` + e.message;",
                      "          setImmediate(() => { throw e });",
                      "        }",
                      "      })();",
                      "      "
                    ]
                  }
                },
                {
                  "listen": "test",
                  "script": {
                    "id": "postProcessors.2.assertion",
                    "type": "text/javascript",
                    "exec": [
                      "",
                      "        if (JSON.setEnableBigInt) {",
                      "          JSON.setEnableBigInt(undefined);",
                      "        }",
                      "        ",
                      "  async function ____replaceIn(value) {",
                      "    if (typeof pm.variables.replaceInAsync === 'function') {",
                      "      return await pm.variables.replaceInAsync(value);",
                      "    }",
                      "    return pm.variables.replaceIn(value);",
                      "  };",
                      "",
                      "  ;(async () => {",
                      "    try {",
                      "      const formattedName = await ____replaceIn(`$.message Equals 登陆成功`);",
                      "      pm.test(formattedName, async function(done) {",
                      "        try {",
                      "          ",
                      "          const expression = await ____replaceIn(`$.message`);",
                      "          const JSONPath = require('jsonpath-plus').JSONPath;",
                      "          let jsonData;",
                      "          try {",
                      "            jsonData = pm.response.json();",
                      "          } catch(e) {",
                      "            let text = pm.response.text();",
                      "            const xml2js = require('xml2js');",
                      "            function removeXmlUselessPrefixAndSuffix(text) {",
                      "              const start = text.indexOf('<');",
                      "              const end = text.lastIndexOf('>');",
                      "              if (start === -1 || end === -1) {",
                      "                return text;",
                      "              }",
                      "              return text.substring(start, end + 1);",
                      "            }",
                      "            text = removeXmlUselessPrefixAndSuffix(text);",
                      "            let json;",
                      "            let xmlParseOptions = {",
                      "                explicitArray: false,",
                      "                trim: true,",
                      "                ignoreAttrs: true,",
                      "            };",
                      "            xml2js.parseString(text, xmlParseOptions, function (_, result) {",
                      "                jsonData = result;",
                      "            });",
                      "          }",
                      "          let value = JSONPath({",
                      "            json: jsonData,",
                      "            path: expression,",
                      "            wrap: false",
                      "          });",
                      "",
                      "          if (false && undefined !== undefined) {",
                      "            if (Array.isArray(value)) {",
                      "              value = Number(undefined) >= 0 ? value[undefined] : value[value.length + Number(undefined)];",
                      "            } else {",
                      "              value = undefined;",
                      "            }",
                      "          }",
                      "",
                      "          ",
                      "          ",
                      "    const compareValue = await ____replaceIn(`登陆成功`);",
                      "    const formattedValues = ____formatValues(value, compareValue, 'equal');",
                      "  ",
                      "          pm.expect(formattedValues.value).to.eql(formattedValues.compareValue);",
                      "          done();",
                      "        } catch (err) {",
                      "          done(err);",
                      "        }",
                      "      });",
                      "    } catch(e) {",
                      "      setImmediate(() => { throw e });",
                      "    }",
                      "  })();",
                      "      "
                    ]
                  }
                },
                {
                  "listen": "test",
                  "script": {
                    "id": "postProcessors.3.extractor",
                    "type": "text/javascript",
                    "exec": [
                      "",
                      "        if (JSON.setEnableBigInt) {",
                      "          JSON.setEnableBigInt(undefined);",
                      "        }",
                      "        ",
                      "      async function ____replaceIn(value) {",
                      "        if (typeof pm.variables.replaceInAsync === 'function') {",
                      "          return await pm.variables.replaceInAsync(value);",
                      "        }",
                      "        return pm.variables.replaceIn(value);",
                      "      };",
                      "      ;(async () => {",
                      "        try{",
                      "          ",
                      "          const expression = await ____replaceIn(`$.data._token`);",
                      "          const JSONPath = require('jsonpath-plus').JSONPath;",
                      "          const jsonData = pm.response.json();",
                      "          let value = JSONPath({",
                      "            json: jsonData,",
                      "            path: expression,",
                      "            wrap: false",
                      "          });",
                      "",
                      "",
                      "          if (false && undefined !== undefined) {",
                      "            if (Array.isArray(value)) {",
                      "              value = Number(undefined) >= 0 ? value[undefined] : value[value.length + Number(undefined)];",
                      "            } else {",
                      "              value = undefined;",
                      "            }",
                      "          }",
                      "          ",
                      "          ",
                      "        switch (typeof value) {",
                      "          case 'object':",
                      "            value = JSON.stringify(value);",
                      "            break;",
                      "          default:",
                      "            value = String(value);",
                      "            break;",
                      "        }",
                      "      ",
                      "          const formattedName = await ____replaceIn(`to`);pm.globals.set(formattedName, value);console.log('___label_placeholder__processor___', 'The value of the Global variable ' + formattedName + ' has been set to' + ' ' + '' + value + '')",
                      "        } catch(e) {",
                      "          e.message = `error occurred in extracting variable to, error message: ` + e.message;",
                      "          setImmediate(() => { throw e });",
                      "        }",
                      "      })();",
                      "      "
                    ]
                  }
                }
              ],
              "type": "http",
              "metaInfo": {
                "blockId": "37c6aaf2-5368-4da8-9de2-2713959c8bda",
                "id": "37c6aaf2-5368-4da8-9de2-2713959c8bda",
                "type": "http",
                "name": "账号登录",
                "projectId": 5737553,
                "relatedId": 6107518,
                "environmentId": 28851641,
                "blockNumber": 1,
                "tags": [],
                "httpApiId": 252596404,
                "httpApiCaseId": 238980782,
                "httpApiName": "账号登录",
                "httpApiPath": "https://zhct.yyangpt.cn//m/login/logon",
                "httpApiMethod": "post",
                "httpApiCaseName": "账号登录",
                "moduleId": 4788005,
                "serverId": "default"
              },
              "protocolProfileBehavior": {
                "useWhatWGUrlParser": false,
                "disableUrlEncoding": false,
                "disabledSystemHeaders": {},
                "disableCookies": false
              },
              "responseDefinition": {
                "createdAt": "2025-08-28T12:20:44.527Z",
                "updatedAt": "2025-08-28T12:20:44.527Z",
                "name": "成功",
                "code": 200,
                "contentType": "json",
                "description": "",
                "headers": [],
                "mediaType": "",
                "jsonSchema": {
                  "type": "object",
                  "properties": {},
                  "x-apifox-orders": []
                },
                "defaultEnable": true,
                "projectId": 5737553,
                "ordering": 0,
                "oasExtensions": "",
                "apiDetailId": 252596404,
                "id": 599581626,
                "schemaDefinitions": {}
              },
              "requestDefinition": {
                "jsonSchema": {},
                "examples": []
              },
              "overrideRequesterOptions": {
                "strictSSL": false
              }
            },
            {
              "id": "d07cf840-1ed6-4b9e-b9f8-f9da66ad4fe1",
              "name": "餐盘绑定",
              "request": {
                "url": {
                  "protocol": "https",
                  "path": [
                    "",
                    "p",
                    "api",
                    "bindPlate"
                  ],
                  "host": [
                    "zhct",
                    "yyangpt",
                    "cn"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Cookie",
                    "value": "{{to}}"
                  },
                  {
                    "key": "Access-Token",
                    "value": "{{terminal_token}}"
                  },
                  {
                    "key": "User-Agent",
                    "value": "app/1.0.0"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "disabled": false,
                      "key": "staff_uuid",
                      "value": "2C9008CF-779D-6558-200C-5A5E68BD2EAB",
                      "type": "string"
                    },
                    {
                      "disabled": false,
                      "key": "plate_code",
                      "value": "00000000051",
                      "type": "string"
                    },
                    {
                      "disabled": false,
                      "key": "equipment_code",
                      "value": "000000001",
                      "type": "string"
                    }
                  ]
                },
                "type": "http"
              },
              "response": [],
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "id": "commonScript.assertion",
                    "type": "text/javascript",
                    "exec": [
                      "",
                      "  ____string2Array = function(value) {",
                      "    if(typeof value === 'object'){",
                      "      return value;",
                      "    }",
                      "    try {",
                      "      return JSON.parse(value);",
                      "    } catch (e) {",
                      "      return value;",
                      "    }",
                      "  }",
                      "  ____string2Number = function(value, errorMsg) {",
                      "   if(typeof value !== 'string'){",
                      "     return value;",
                      "   }",
                      "   if (/^\\-?\\d+$/.test(value)) {",
                      "       return parseInt(value);",
                      "   } else if (/^\\-?\\d+\\.\\d+$/.test(value)) {",
                      "       return parseFloat(value);",
                      "   } else {",
                      "       throw new Error(errorMsg || 'Data type mismatch')",
                      "   }",
                      " }",
                      "",
                      "  ____formatValues = function(value, stringCompareValue, comparison) {",
                      "   try{",
                      "     const isNumberComparisons = ['isBelow', 'isAtMost', 'isAbove', 'isAtLeast'].includes(comparison);",
                      "     const isCollectionComparisons = ['isOneOf', 'notOneOf'].includes(comparison);",
                      "     let compareValue;",
                      "     switch (typeof value) {",
                      "         case 'string':",
                      "             if (isNumberComparisons) {",
                      "                value = ____string2Number(value);",
                      "                compareValue = ____string2Number(stringCompareValue);",
                      "             } else if (isCollectionComparisons) {",
                      "                compareValue = ____string2Array(stringCompareValue);",
                      "             } else if (comparison === 'exists' || comparison === 'notExist') {",
                      "                value = /^({%.*%})|({{.*}})$/.test(value) ? undefined : value;",
                      "             } else {",
                      "                compareValue = stringCompareValue;",
                      "             }",
                      "             break;",
                      "         case 'object':",
                      "             const isArray = value instanceof Array;",
                      "             if (isNumberComparisons) {",
                      "                 throw new Error('Values of type object cannot be compared using the ' + comparison + ' method')",
                      "             } else if (isCollectionComparisons && isArray) {",
                      "              throw new Error('Values of type array cannot be compared using the ' + comparison + ' method')",
                      "            } else if (",
                      "              isArray &&",
                      "              comparison === 'include' &&",
                      "              value.includes(stringCompareValue)",
                      "            ) {",
                      "              compareValue = stringCompareValue;",
                      "            } else {",
                      "              try {",
                      "                  compareValue = JSON.parse(stringCompareValue);",
                      "              } catch (e) {",
                      "                  compareValue = stringCompareValue;",
                      "              }",
                      "            }",
                      "             break;",
                      "         case 'boolean':",
                      "             if (isNumberComparisons || isCollectionComparisons) {",
                      "                 throw new Error('Values of type boolean cannot be compared using the ' + comparison + ' method')",
                      "             }",
                      "             compareValue = stringCompareValue === 'true' ? true : (stringCompareValue === 'false' ? false : stringCompareValue);",
                      "             break;",
                      "           case 'bigint':",
                      "           case 'number':",
                      "             if (isNumberComparisons) {",
                      "               compareValue = ____string2Number(stringCompareValue);",
                      "             } else if (isCollectionComparisons) {",
                      "              compareValue = ____string2Array(stringCompareValue);",
                      "              value = '' + value;",
                      "            } else {",
                      "               compareValue = stringCompareValue;",
                      "               value = '' + value;",
                      "             }",
                      "             break;",
                      "         case 'null':",
                      "             if (isNumberComparisons) {",
                      "                 throw new Error('Values of type null cannot be compared using the ' + comparison + ' method')",
                      "             }",
                      "             compareValue = stringCompareValue === 'null' ? null : stringCompareValue;",
                      "             break;",
                      "         default:",
                      "            if (isCollectionComparisons) {",
                      "              compareValue = ____string2Array(stringCompareValue);",
                      "            } else {",
                      "              compareValue = stringCompareValue;",
                      "            }",
                      "            break;",
                      "     }",
                      "     return { compareValue, value };",
                      "   } catch(e) {",
                      "     console.log(e);",
                      "     throw e;",
                      "   }",
                      " }",
                      " "
                    ]
                  }
                },
                {
                  "listen": "test",
                  "script": {
                    "id": "postProcessors.0.assertion",
                    "type": "text/javascript",
                    "exec": [
                      "",
                      "        if (JSON.setEnableBigInt) {",
                      "          JSON.setEnableBigInt(undefined);",
                      "        }",
                      "        ",
                      "  async function ____replaceIn(value) {",
                      "    if (typeof pm.variables.replaceInAsync === 'function') {",
                      "      return await pm.variables.replaceInAsync(value);",
                      "    }",
                      "    return pm.variables.replaceIn(value);",
                      "  };",
                      "",
                      "  ;(async () => {",
                      "    try {",
                      "      const formattedName = await ____replaceIn(`$.message Equals 绑定成功`);",
                      "      pm.test(formattedName, async function(done) {",
                      "        try {",
                      "          ",
                      "          const expression = await ____replaceIn(`$.message`);",
                      "          const JSONPath = require('jsonpath-plus').JSONPath;",
                      "          let jsonData;",
                      "          try {",
                      "            jsonData = pm.response.json();",
                      "          } catch(e) {",
                      "            let text = pm.response.text();",
                      "            const xml2js = require('xml2js');",
                      "            function removeXmlUselessPrefixAndSuffix(text) {",
                      "              const start = text.indexOf('<');",
                      "              const end = text.lastIndexOf('>');",
                      "              if (start === -1 || end === -1) {",
                      "                return text;",
                      "              }",
                      "              return text.substring(start, end + 1);",
                      "            }",
                      "            text = removeXmlUselessPrefixAndSuffix(text);",
                      "            let json;",
                      "            let xmlParseOptions = {",
                      "                explicitArray: false,",
                      "                trim: true,",
                      "                ignoreAttrs: true,",
                      "            };",
                      "            xml2js.parseString(text, xmlParseOptions, function (_, result) {",
                      "                jsonData = result;",
                      "            });",
                      "          }",
                      "          let value = JSONPath({",
                      "            json: jsonData,",
                      "            path: expression,",
                      "            wrap: false",
                      "          });",
                      "",
                      "          if (false && undefined !== undefined) {",
                      "            if (Array.isArray(value)) {",
                      "              value = Number(undefined) >= 0 ? value[undefined] : value[value.length + Number(undefined)];",
                      "            } else {",
                      "              value = undefined;",
                      "            }",
                      "          }",
                      "",
                      "          ",
                      "          ",
                      "    const compareValue = await ____replaceIn(`绑定成功`);",
                      "    const formattedValues = ____formatValues(value, compareValue, 'equal');",
                      "  ",
                      "          pm.expect(formattedValues.value).to.eql(formattedValues.compareValue);",
                      "          done();",
                      "        } catch (err) {",
                      "          done(err);",
                      "        }",
                      "      });",
                      "    } catch(e) {",
                      "      setImmediate(() => { throw e });",
                      "    }",
                      "  })();",
                      "      "
                    ]
                  }
                },
                {
                  "listen": "test",
                  "script": {
                    "id": "postProcessors.1.extractor",
                    "type": "text/javascript",
                    "exec": [
                      "",
                      "        if (JSON.setEnableBigInt) {",
                      "          JSON.setEnableBigInt(undefined);",
                      "        }",
                      "        ",
                      "      async function ____replaceIn(value) {",
                      "        if (typeof pm.variables.replaceInAsync === 'function') {",
                      "          return await pm.variables.replaceInAsync(value);",
                      "        }",
                      "        return pm.variables.replaceIn(value);",
                      "      };",
                      "      ;(async () => {",
                      "        try{",
                      "          ",
                      "          const expression = await ____replaceIn(`$.data.bind_time`);",
                      "          const JSONPath = require('jsonpath-plus').JSONPath;",
                      "          const jsonData = pm.response.json();",
                      "          let value = JSONPath({",
                      "            json: jsonData,",
                      "            path: expression,",
                      "            wrap: false",
                      "          });",
                      "",
                      "",
                      "          if (false && undefined !== undefined) {",
                      "            if (Array.isArray(value)) {",
                      "              value = Number(undefined) >= 0 ? value[undefined] : value[value.length + Number(undefined)];",
                      "            } else {",
                      "              value = undefined;",
                      "            }",
                      "          }",
                      "          ",
                      "          ",
                      "        switch (typeof value) {",
                      "          case 'object':",
                      "            value = JSON.stringify(value);",
                      "            break;",
                      "          default:",
                      "            value = String(value);",
                      "            break;",
                      "        }",
                      "      ",
                      "          const formattedName = await ____replaceIn(`sh`);pm.variables.set(formattedName, value);console.log('___label_placeholder__processor___', 'The value of the Local variable ' + formattedName + ' has been set to' + ' ' + '' + value + '')",
                      "        } catch(e) {",
                      "          e.message = `error occurred in extracting variable sh, error message: ` + e.message;",
                      "          setImmediate(() => { throw e });",
                      "        }",
                      "      })();",
                      "      "
                    ]
                  }
                },
                {
                  "listen": "test",
                  "script": {
                    "id": "postProcessors.2.customScript",
                    "type": "text/javascript",
                    "exec": [
                      "",
                      "        if (JSON.setEnableBigInt) {",
                      "          JSON.setEnableBigInt(undefined);",
                      "        }",
                      "        // 获取Apifox中名为sh的临时变量的值",
                      "var timeStr = pm.variables.get('sh');",
                      "console.log('获取到的timeStr原始值:', timeStr);",
                      "",
                      "// 如果获取到的时间字符串不为空",
                      "if (timeStr) {",
                      "    try {",
                      "        // 将时间字符串转换为Date对象（保持本地时间）",
                      "        var dateObj = new Date(timeStr);",
                      "        console.log('转换后的Date对象:', dateObj);",
                      "",
                      "        // 增加2分钟（2分钟 = 120000毫秒）",
                      "        dateObj.setTime(dateObj.getTime() + 120000);",
                      "        console.log('增加2分钟后的Date对象:', dateObj);",
                      "",
                      "        // 正确格式化本地时间为\"YYYY-MM-DD HH:MM:SS\"格式",
                      "        var newTimeStr = dateObj.getFullYear() + '-' + ",
                      "                         ('0' + (dateObj.getMonth() + 1)).slice(-2) + '-' + ",
                      "                         ('0' + dateObj.getDate()).slice(-2) + ' ' + ",
                      "                         ('0' + dateObj.getHours()).slice(-2) + ':' + ",
                      "                         ('0' + dateObj.getMinutes()).slice(-2) + ':' + ",
                      "                         ('0' + dateObj.getSeconds()).slice(-2);",
                      "        console.log('转换后的新时间字符串:', newTimeStr);",
                      "",
                      "        // 将新的时间值设置回Apifox的临时变量sh",
                      "        pm.variables.set('sh', newTimeStr);",
                      "        console.log('已将新时间值设置回sh变量，新值为:', newTimeStr);",
                      "    } catch (error) {",
                      "        console.error('处理时间时出错:', error);",
                      "    }",
                      "} else {",
                      "    console.log('未获取到名为sh的临时变量的值');",
                      "}",
                      "      "
                    ]
                  }
                }
              ],
              "type": "http",
              "metaInfo": {
                "blockId": "5ba4ad85-4fde-4855-abc7-d5ee1de01547",
                "id": "5ba4ad85-4fde-4855-abc7-d5ee1de01547",
                "type": "http",
                "name": "餐盘绑定",
                "projectId": 5737553,
                "relatedId": 6107518,
                "environmentId": 28851641,
                "blockNumber": 2,
                "tags": [],
                "httpApiId": 252596572,
                "httpApiCaseId": 239084881,
                "httpApiName": "餐盘绑定",
                "httpApiPath": "https://zhct.yyangpt.cn//p/api/bindPlate",
                "httpApiMethod": "post",
                "httpApiCaseName": "餐盘绑定",
                "moduleId": 4788005,
                "serverId": "default"
              },
              "protocolProfileBehavior": {
                "useWhatWGUrlParser": false,
                "disableUrlEncoding": false,
                "disabledSystemHeaders": {},
                "disableCookies": false
              },
              "responseDefinition": {
                "id": 599581796,
                "name": "成功",
                "code": 200,
                "contentType": "json",
                "jsonSchema": {
                  "type": "object",
                  "properties": {},
                  "x-apifox-orders": []
                },
                "description": "",
                "mediaType": "",
                "headers": [],
                "oasExtensions": "",
                "schemaDefinitions": {}
              },
              "requestDefinition": {
                "jsonSchema": {},
                "examples": []
              },
              "overrideRequesterOptions": {
                "strictSSL": false
              }
            },
            {
              "id": "84d2f2f3-938a-4708-bd3f-abf77d0779d8",
              "name": "查询餐盘是否绑定",
              "request": {
                "url": {
                  "protocol": "https",
                  "path": [
                    "p",
                    "api",
                    "selectPlate"
                  ],
                  "host": [
                    "zhct",
                    "yyangpt",
                    "cn"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Cookie",
                    "value": "{{to}}"
                  },
                  {
                    "key": "Access-Token",
                    "value": "{{terminal_token}}"
                  },
                  {
                    "key": "User-Agent",
                    "value": "app/1.0.0"
                  }
                ],
                "method": "POST",
                "baseUrl": "https://zhct.yyangpt.cn",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "disabled": false,
                      "key": "plate_code",
                      "value": "00000000051",
                      "type": "string"
                    }
                  ]
                },
                "type": "http"
              },
              "response": [],
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "id": "preProcessors.0.customScript",
                    "type": "text/javascript",
                    "exec": [
                      "",
                      "        if (JSON.setEnableBigInt) {",
                      "          JSON.setEnableBigInt(undefined);",
                      "        }",
                      "        // 1. 获取当前时间（本地时区）",
                      "const now = new Date();",
                      "// 计算东八区（UTC + 8）的偏移量（以毫秒为单位），1 小时 = 3600000 毫秒，8 小时就是 8 * 3600000 毫秒",
                      "const offset = 8 * 3600000; ",
                      "// 调整时间戳",
                      "const adjustedTimestamp = now.getTime() + offset; ",
                      "const adjustedNow = new Date(adjustedTimestamp);",
                      "const currentTime = adjustedNow",
                      "   .toISOString()",
                      "   .replace('T', ' ')",
                      "   .substring(0, 19); ",
                      "",
                      "// 2. 将当前时间存储到临时变量中（这里 currentTime 本身就是临时变量，你也可以换个名字）",
                      "const tempTimeVariable = currentTime;",
                      "",
                      "// 3. 打印临时变量的值到控制台（可省略，仅用于查看验证）",
                      "console.log(\"的时间：\", tempTimeVariable);",
                      "",
                      "// 4. 将临时变量的值设置为环境变量pm.environment.set(\"timeFromTempVariable\", tempTimeVariable);",
                      "",
                      "// 如果你想设置为全局变量，取消注释下面这行代码",
                      "pm.globals.set(\"cee\", tempTimeVariable);",
                      "      "
                    ]
                  }
                }
              ],
              "type": "http",
              "metaInfo": {
                "blockId": "41a9eb35-ab84-4880-a2c6-841c73b01b62",
                "id": "41a9eb35-ab84-4880-a2c6-841c73b01b62",
                "type": "http",
                "name": "查询餐盘是否绑定",
                "projectId": 5737553,
                "relatedId": 6107518,
                "environmentId": 28851641,
                "blockNumber": 3,
                "tags": [],
                "httpApiId": 252596578,
                "httpApiCaseId": 239094312,
                "httpApiName": "查询餐盘是否绑定",
                "httpApiPath": "/p/api/selectPlate",
                "httpApiMethod": "post",
                "httpApiCaseName": "查询餐盘是否绑定",
                "moduleId": 4788005,
                "serverId": "default"
              },
              "protocolProfileBehavior": {
                "useWhatWGUrlParser": false,
                "disableUrlEncoding": false,
                "disabledSystemHeaders": {},
                "disableCookies": false
              },
              "responseDefinition": {
                "validateDeletedResponse": false
              },
              "requestDefinition": {
                "jsonSchema": {},
                "examples": []
              },
              "overrideRequesterOptions": {
                "strictSSL": false
              }
            },
            {
              "id": "9a23dca2-2278-4c83-906f-d4a7f8d3980b",
              "name": "职工食堂推送菜品",
              "request": {
                "url": {
                  "protocol": "https",
                  "path": [
                    "p",
                    "api",
                    "zhctPushMeal"
                  ],
                  "host": [
                    "zhct",
                    "yyangpt",
                    "cn"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Cookie",
                    "value": "{{to}}"
                  },
                  {
                    "key": "Access-Token",
                    "value": "{{terminal_token}}"
                  },
                  {
                    "key": "User-Agent",
                    "value": "app/1.0.0"
                  }
                ],
                "method": "POST",
                "baseUrl": "https://zhct.yyangpt.cn",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "disabled": false,
                      "key": "dish_info",
                      "value": "{\"create_date\":\"{{sh}}\",\"details\":[{\"uuid\": \"E309D831-10C5-4704-F67C-87A59CC3C0B2\",\"weight\":60}]}",
                      "type": "string"
                    },
                    {
                      "disabled": false,
                      "key": "code",
                      "value": "00000000051",
                      "type": "string"
                    },
                    {
                      "disabled": false,
                      "key": "equipment_code",
                      "value": "000000001",
                      "type": "string"
                    }
                  ]
                },
                "type": "http"
              },
              "response": [],
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "id": "commonScript.assertion",
                    "type": "text/javascript",
                    "exec": [
                      "",
                      "  ____string2Array = function(value) {",
                      "    if(typeof value === 'object'){",
                      "      return value;",
                      "    }",
                      "    try {",
                      "      return JSON.parse(value);",
                      "    } catch (e) {",
                      "      return value;",
                      "    }",
                      "  }",
                      "  ____string2Number = function(value, errorMsg) {",
                      "   if(typeof value !== 'string'){",
                      "     return value;",
                      "   }",
                      "   if (/^\\-?\\d+$/.test(value)) {",
                      "       return parseInt(value);",
                      "   } else if (/^\\-?\\d+\\.\\d+$/.test(value)) {",
                      "       return parseFloat(value);",
                      "   } else {",
                      "       throw new Error(errorMsg || 'Data type mismatch')",
                      "   }",
                      " }",
                      "",
                      "  ____formatValues = function(value, stringCompareValue, comparison) {",
                      "   try{",
                      "     const isNumberComparisons = ['isBelow', 'isAtMost', 'isAbove', 'isAtLeast'].includes(comparison);",
                      "     const isCollectionComparisons = ['isOneOf', 'notOneOf'].includes(comparison);",
                      "     let compareValue;",
                      "     switch (typeof value) {",
                      "         case 'string':",
                      "             if (isNumberComparisons) {",
                      "                value = ____string2Number(value);",
                      "                compareValue = ____string2Number(stringCompareValue);",
                      "             } else if (isCollectionComparisons) {",
                      "                compareValue = ____string2Array(stringCompareValue);",
                      "             } else if (comparison === 'exists' || comparison === 'notExist') {",
                      "                value = /^({%.*%})|({{.*}})$/.test(value) ? undefined : value;",
                      "             } else {",
                      "                compareValue = stringCompareValue;",
                      "             }",
                      "             break;",
                      "         case 'object':",
                      "             const isArray = value instanceof Array;",
                      "             if (isNumberComparisons) {",
                      "                 throw new Error('Values of type object cannot be compared using the ' + comparison + ' method')",
                      "             } else if (isCollectionComparisons && isArray) {",
                      "              throw new Error('Values of type array cannot be compared using the ' + comparison + ' method')",
                      "            } else if (",
                      "              isArray &&",
                      "              comparison === 'include' &&",
                      "              value.includes(stringCompareValue)",
                      "            ) {",
                      "              compareValue = stringCompareValue;",
                      "            } else {",
                      "              try {",
                      "                  compareValue = JSON.parse(stringCompareValue);",
                      "              } catch (e) {",
                      "                  compareValue = stringCompareValue;",
                      "              }",
                      "            }",
                      "             break;",
                      "         case 'boolean':",
                      "             if (isNumberComparisons || isCollectionComparisons) {",
                      "                 throw new Error('Values of type boolean cannot be compared using the ' + comparison + ' method')",
                      "             }",
                      "             compareValue = stringCompareValue === 'true' ? true : (stringCompareValue === 'false' ? false : stringCompareValue);",
                      "             break;",
                      "           case 'bigint':",
                      "           case 'number':",
                      "             if (isNumberComparisons) {",
                      "               compareValue = ____string2Number(stringCompareValue);",
                      "             } else if (isCollectionComparisons) {",
                      "              compareValue = ____string2Array(stringCompareValue);",
                      "              value = '' + value;",
                      "            } else {",
                      "               compareValue = stringCompareValue;",
                      "               value = '' + value;",
                      "             }",
                      "             break;",
                      "         case 'null':",
                      "             if (isNumberComparisons) {",
                      "                 throw new Error('Values of type null cannot be compared using the ' + comparison + ' method')",
                      "             }",
                      "             compareValue = stringCompareValue === 'null' ? null : stringCompareValue;",
                      "             break;",
                      "         default:",
                      "            if (isCollectionComparisons) {",
                      "              compareValue = ____string2Array(stringCompareValue);",
                      "            } else {",
                      "              compareValue = stringCompareValue;",
                      "            }",
                      "            break;",
                      "     }",
                      "     return { compareValue, value };",
                      "   } catch(e) {",
                      "     console.log(e);",
                      "     throw e;",
                      "   }",
                      " }",
                      " "
                    ]
                  }
                },
                {
                  "listen": "prerequest",
                  "script": {
                    "id": "preProcessors.0.customScript",
                    "type": "text/javascript",
                    "exec": [
                      "",
                      "        if (JSON.setEnableBigInt) {",
                      "          JSON.setEnableBigInt(undefined);",
                      "        }",
                      "        // 1. 获取当前时间（东八区）",
                      "// 创建一个 Date 对象表示当前时间",
                      "const now = new Date();",
                      "// 将当前时间转换为东八区的日期字符串",
                      "const currentDate = now.toLocaleString('zh-CN', {",
                      "    timeZone: 'Asia/Shanghai',",
                      "    year: 'numeric',",
                      "    month: '2-digit',",
                      "    day: '2-digit'",
                      "}).split(' ')[0].replace(/\\//g, '-');",
                      "",
                      "// 2. 将当前日期存储到临时变量中",
                      "const tempDateVariable = currentDate;",
                      "",
                      "// 3. 打印临时变量的值到控制台（可省略，仅用于查看验证）",
                      "console.log(\"当前日期：\", tempDateVariable);",
                      "",
                      "// 4. 将临时变量的值设置为环境变量pm.environment.set(\"dateFromTempVariable\", tempDateVariable);",
                      "",
                      "// 如果你想设置为全局变量，取消注释下面这行代码",
                      "pm.globals.set(\"dateFromTempVariable\", tempDateVariable);",
                      "      "
                    ]
                  }
                },
                {
                  "listen": "test",
                  "script": {
                    "id": "postProcessors.0.assertion",
                    "type": "text/javascript",
                    "exec": [
                      "",
                      "        if (JSON.setEnableBigInt) {",
                      "          JSON.setEnableBigInt(undefined);",
                      "        }",
                      "        ",
                      "  async function ____replaceIn(value) {",
                      "    if (typeof pm.variables.replaceInAsync === 'function') {",
                      "      return await pm.variables.replaceInAsync(value);",
                      "    }",
                      "    return pm.variables.replaceIn(value);",
                      "  };",
                      "",
                      "  ;(async () => {",
                      "    try {",
                      "      const formattedName = await ____replaceIn(`$.message Equals 推送成功`);",
                      "      pm.test(formattedName, async function(done) {",
                      "        try {",
                      "          ",
                      "          const expression = await ____replaceIn(`$.message`);",
                      "          const JSONPath = require('jsonpath-plus').JSONPath;",
                      "          let jsonData;",
                      "          try {",
                      "            jsonData = pm.response.json();",
                      "          } catch(e) {",
                      "            let text = pm.response.text();",
                      "            const xml2js = require('xml2js');",
                      "            function removeXmlUselessPrefixAndSuffix(text) {",
                      "              const start = text.indexOf('<');",
                      "              const end = text.lastIndexOf('>');",
                      "              if (start === -1 || end === -1) {",
                      "                return text;",
                      "              }",
                      "              return text.substring(start, end + 1);",
                      "            }",
                      "            text = removeXmlUselessPrefixAndSuffix(text);",
                      "            let json;",
                      "            let xmlParseOptions = {",
                      "                explicitArray: false,",
                      "                trim: true,",
                      "                ignoreAttrs: true,",
                      "            };",
                      "            xml2js.parseString(text, xmlParseOptions, function (_, result) {",
                      "                jsonData = result;",
                      "            });",
                      "          }",
                      "          let value = JSONPath({",
                      "            json: jsonData,",
                      "            path: expression,",
                      "            wrap: false",
                      "          });",
                      "",
                      "          if (false && undefined !== undefined) {",
                      "            if (Array.isArray(value)) {",
                      "              value = Number(undefined) >= 0 ? value[undefined] : value[value.length + Number(undefined)];",
                      "            } else {",
                      "              value = undefined;",
                      "            }",
                      "          }",
                      "",
                      "          ",
                      "          ",
                      "    const compareValue = await ____replaceIn(`推送成功`);",
                      "    const formattedValues = ____formatValues(value, compareValue, 'equal');",
                      "  ",
                      "          pm.expect(formattedValues.value).to.eql(formattedValues.compareValue);",
                      "          done();",
                      "        } catch (err) {",
                      "          done(err);",
                      "        }",
                      "      });",
                      "    } catch(e) {",
                      "      setImmediate(() => { throw e });",
                      "    }",
                      "  })();",
                      "      "
                    ]
                  }
                }
              ],
              "type": "http",
              "metaInfo": {
                "blockId": "cc851c3f-16fb-40cb-a8f5-bde979abc339",
                "id": "cc851c3f-16fb-40cb-a8f5-bde979abc339",
                "type": "http",
                "name": "职工食堂推送菜品",
                "projectId": 5737553,
                "relatedId": 6107518,
                "environmentId": 28851641,
                "blockNumber": 4,
                "tags": [],
                "httpApiId": 252596577,
                "httpApiCaseId": 239096329,
                "httpApiName": "职工食堂推送菜品",
                "httpApiPath": "/p/api/zhctPushMeal",
                "httpApiMethod": "post",
                "httpApiCaseName": "职工食堂推送菜品",
                "moduleId": 4788005,
                "serverId": "default"
              },
              "protocolProfileBehavior": {
                "useWhatWGUrlParser": false,
                "disableUrlEncoding": false,
                "disabledSystemHeaders": {},
                "disableCookies": false
              },
              "responseDefinition": {
                "validateDeletedResponse": false
              },
              "requestDefinition": {
                "jsonSchema": {},
                "examples": []
              },
              "overrideRequesterOptions": {
                "strictSSL": false
              }
            },
            {
              "id": "7a978522-443c-497c-8db5-ae441440488b",
              "name": "手机端营养报告查询",
              "request": {
                "url": {
                  "protocol": "https",
                  "path": [
                    "m",
                    "OneMeal",
                    "oneMeal"
                  ],
                  "host": [
                    "zhct",
                    "yyangpt",
                    "cn"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Cookie",
                    "value": "{{to}}"
                  },
                  {
                    "key": "User-Agent",
                    "value": "app/1.0.0"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "disabled": false,
                      "key": "date",
                      "value": "{{dateFromTempVariable}}",
                      "type": "string"
                    },
                    {
                      "disabled": false,
                      "key": "meal",
                      "value": "2",
                      "type": "string"
                    }
                  ]
                },
                "type": "http"
              },
              "response": [],
              "event": [],
              "type": "http",
              "metaInfo": {
                "blockId": "e72185b6-32e5-44ad-bd9d-234e3753b43f",
                "id": "e72185b6-32e5-44ad-bd9d-234e3753b43f",
                "type": "http",
                "name": "手机端营养报告查询",
                "projectId": 5737553,
                "relatedId": 6107518,
                "environmentId": 28851641,
                "blockNumber": 5,
                "tags": [],
                "httpApiId": 268206668,
                "httpApiCaseId": 239208922,
                "httpApiName": "手机端营养报告查询",
                "httpApiPath": "https://zhct.yyangpt.cn/m/OneMeal/oneMeal",
                "httpApiMethod": "post",
                "httpApiCaseName": "手机端营养报告查询",
                "moduleId": 4788005,
                "serverId": "default"
              },
              "protocolProfileBehavior": {
                "useWhatWGUrlParser": false,
                "disableUrlEncoding": false,
                "disabledSystemHeaders": {},
                "disableCookies": false
              },
              "responseDefinition": {
                "validateDeletedResponse": false
              },
              "requestDefinition": {
                "jsonSchema": {},
                "examples": []
              },
              "overrideRequesterOptions": {
                "strictSSL": false
              }
            }
          ],
          "name": "用户流程"
        }
      ],
      "info": {
        "name": "用户流程",
        "folderName": "智慧健康餐厅主流程"
      },
      "dataSchemas": {},
      "mockRules": {
        "rules": [],
        "enableSystemRule": true
      },
      "environment": {
        "id": 28851641,
        "name": "商户端产业园演示环境",
        "type": "normal",
        "baseUrls": {
          "default": "https://zhct.yyangpt.cn"
        },
        "websocketBaseUrls": {},
        "socketioBaseUrls": {},
        "baseUrl": "https://zhct.yyangpt.cn",
        "variable": {
          "id": "85b087cf-a0d0-47f1-aceb-14c86cb17b19",
          "name": "商户端产业园演示环境",
          "baseUrl": "https://zhct.yyangpt.cn",
          "baseUrls": {
            "default": "https://zhct.yyangpt.cn"
          },
          "values": [
            {
              "type": "any",
              "value": "",
              "key": "dateFromTempVariable",
              "isBindInitial": false,
              "initialValue": ""
            },
            {
              "type": "any",
              "value": "",
              "key": "bindTime",
              "isBindInitial": false,
              "initialValue": ""
            },
            {
              "type": "any",
              "value": "",
              "key": "delayedBindTime",
              "isBindInitial": false,
              "initialValue": ""
            },
            {
              "type": "any",
              "value": "",
              "key": "formattedDelayedTime",
              "isBindInitial": false,
              "initialValue": ""
            },
            {
              "type": "any",
              "value": "",
              "key": "zqa",
              "isBindInitial": false,
              "initialValue": ""
            }
          ]
        },
        "parameter": {
          "header": [],
          "query": [],
          "body": [],
          "cookie": []
        },
        "advancedSettings": {
          "default": {
            "requestProxySetting": {
              "type": "default",
              "agentId": 2
            }
          }
        }
      },
      "globals": {
        "baseUrls": {},
        "websocketBaseUrls": {},
        "socketioBaseUrls": {},
        "baseUrl": "",
        "variable": {
          "id": "2599dd67-c020-4332-8def-52dbf26a279f",
          "baseUrl": "",
          "baseUrls": {},
          "values": [
            {
              "type": "any",
              "value": "",
              "key": "uuid",
              "isBindInitial": true,
              "initialValue": ""
            },
            {
              "type": "any",
              "value": "",
              "key": "提取菜品uuid",
              "isBindInitial": true,
              "initialValue": ""
            },
            {
              "type": "any",
              "value": "",
              "key": "提取菜品名称",
              "isBindInitial": true,
              "initialValue": ""
            },
            {
              "type": "any",
              "value": "",
              "key": "to",
              "isBindInitial": true,
              "initialValue": ""
            },
            {
              "type": "any",
              "value": "",
              "key": "shijian",
              "isBindInitial": true,
              "initialValue": ""
            },
            {
              "type": "any",
              "value": "",
              "key": "dateFromTempVariable",
              "isBindInitial": true,
              "initialValue": ""
            },
            {
              "type": "any",
              "value": "",
              "key": "cee",
              "isBindInitial": true,
              "initialValue": ""
            },
            {
              "type": "any",
              "value": "",
              "key": "sh",
              "isBindInitial": true,
              "initialValue": ""
            },
            {
              "type": "any",
              "value": "onlineshopmall",
              "key": "account-dev",
              "isBindInitial": true,
              "initialValue": "onlineshopmall"
            },
            {
              "type": "any",
              "value": "Shop@2025#Mall&88",
              "key": "pwd-dev",
              "isBindInitial": true,
              "initialValue": "Shop@2025#Mall&88"
            },
            {
              "type": "any",
              "value": "7E3A9D2C5F8B1E4G6H0J2K9L4M1N3P5Q",
              "key": "key-dev",
              "isBindInitial": true,
              "initialValue": "7E3A9D2C5F8B1E4G6H0J2K9L4M1N3P5Q"
            }
          ]
        },
        "parameter": {
          "header": [],
          "query": [],
          "body": [],
          "cookie": []
        }
      },
      "teamGlobals": {
        "baseUrls": {},
        "websocketBaseUrls": {},
        "socketioBaseUrls": {},
        "baseUrl": "",
        "variable": {
          "id": "257f447c-0a45-4e4a-ba76-caf9ba466c73",
          "baseUrl": "",
          "baseUrls": {},
          "values": []
        },
        "parameter": {
          "header": [],
          "query": [],
          "body": [],
          "cookie": []
        }
      },
      "moduleVariablesMap": {
        "4788005": []
      },
      "defaultModuleId": 4788005,
      "isServerBuild": true,
      "isTestFlowControl": false,
      "databaseConnectionMap": {
        "124921": {
          "id": 124921,
          "createdAt": "2025-11-18T01:30:01.000Z",
          "updatedAt": "2025-11-18T01:30:01.000Z",
          "deletedAt": null,
          "name": "麒麟系统瀚高数据库",
          "type": "postgresql",
          "projectId": 5737553,
          "description": "麒麟系统瀚高数据库",
          "configs": {
            "default": {
              "port": "5866"
            }
          }
        }
      }
    },
    "runOptions": {
      "environmentId": 28851641,
      "useDataSetId": -1,
      "iterationCount": 1,
      "threadCount": 1,
      "onError": "ignore",
      "delayItem": 2000,
      "saveReportDetail": "all",
      "saveVariables": true,
      "readGlobalCookie": false,
      "saveGlobalCookie": false,
      "runnerId": 0,
      "variableValue": "INITIAL_VALUE"
    },
    "projectOptions": {
      "enableJsonc": true,
      "enableBigint": false,
      "responseValidate": true,
      "isDefaultUrlEncoding": 2,
      "enableTestScenarioSetting": false,
      "enableYAPICompatScript": false,
      "publishedDocUrlRules": {
        "defaultRule": "RESOURCE_KEY_ONLY",
        "resourceKeyStandard": "LEGACY"
      },
      "folderShareExpandModeSettings": {
        "expandId": [],
        "mode": "AUTO"
      },
      "mockSettings": {},
      "language": "zh-CN"
    },
    "ciRunningOptions": {
      "environmentId": 28851641,
      "useDataSetId": -1,
      "iterationCount": 1,
      "threadCount": 1,
      "onError": "ignore",
      "delayItem": 2000,
      "saveReportDetail": "all",
      "saveVariables": true,
      "readGlobalCookie": false,
      "saveGlobalCookie": false,
      "runnerId": 0,
      "variableValue": "INITIAL_VALUE"
    },
    "projectId": 5737553,
    "databaseConnectionMap": {
      "124921": {
        "id": 124921,
        "createdAt": "2025-11-18T01:30:01.000Z",
        "updatedAt": "2025-11-18T01:30:01.000Z",
        "deletedAt": null,
        "name": "麒麟系统瀚高数据库",
        "type": "postgresql",
        "projectId": 5737553,
        "description": "麒麟系统瀚高数据库",
        "configs": {
          "default": {
            "port": "5866"
          }
        }
      }
    },
    "reportUrlTemplate": "https://app.apifox.com/link/project/{{projectId}}/api-test/test-report/{{id}}",
    "reportExtra": {
      "runOptions": {
        "environmentId": 28851641,
        "useDataSetId": -1,
        "iterationCount": 1,
        "threadCount": 1,
        "onError": "ignore",
        "delayItem": 2000,
        "saveReportDetail": "all",
        "saveVariables": true,
        "readGlobalCookie": false,
        "saveGlobalCookie": false,
        "runnerId": 0,
        "variableValue": "INITIAL_VALUE"
      },
      "testScenario": {
        "id": 6107518,
        "name": "用户流程"
      },
      "branch": {
        "id": 5420249,
        "name": "main"
      }
    },
    "runnerId": "2390093f-0cc9-4a6b-963e-03794466c6da",
    "name": "用户流程"
  }
}