供应链系统
  1. 订单
供应链系统
  • 公共消息
  • 消息说明
  • 商品
    • 获取商品详情
      POST
    • 我的选品库
      POST
  • 订单
    • 可售检测
      POST
    • 订单校验
      POST
    • 提交下单
      POST
    • 订单列表
      GET
    • 订单详情
      GET
  • 物流
    • 物流查询
      POST
  • 售后
    • 售后前置校验
      POST
    • 申请售后
      POST
    • 上传售后凭证
      POST
    • 退货商家邮寄信息
      POST
    • 退款列表
      GET
    • 售后详情
      GET
    • 取消售后
      GET
  • 消息
    • 订单发货
      POST
    • 退款商家确认收货
      POST
    • 同意售后
      POST
    • 拒绝售后
      POST
    • 完成订单
      POST
  1. 订单

可售检测

开发中
POST
/api/SupplyOrder/availableCheck

请求参数

Header 参数

Body 参数application/json

示例
{
    "spu": [
        {
            "product_id":232091,
            "sku": "0a135aca53a0",
            "number": 1
        }
    ],
    "address": {
        "real_name": "技术部测试",
        "phone": "18888888888",
        "province": "广东省",
        "city": "深圳市",
        "district": "罗湖区",
        "street": "笋岗街道",
        "detail": "华通大厦"
    }
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.beltroadsupply.com/api/SupplyOrder/availableCheck' \
--header 'X-Token: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzdXBwbHktcGxhdGZvcm0uencuY29tIiwiYXVkIjoic3VwcGx5LXBsYXRmb3JtLnp3LmNvbSIsImlhdCI6MTc2NzY5Mjc4NywibmJmIjoxNzY3NjkyNzg3LCJleHAiOjE3NzAyODQ3ODcsImp0aSI6WzEsInVzZXIiXX0.xKGi3AIc24noDk6-NmYmC7Q74JP5u_36YQCFHHgl4Ao' \
--header 'Content-Type: application/json' \
--data-raw '{
    "spu": [
        {
            "product_id":232091,
            "sku": "0a135aca53a0",
            "number": 1
        }
    ],
    "address": {
        "real_name": "技术部测试",
        "phone": "18888888888",
        "province": "广东省",
        "city": "深圳市",
        "district": "罗湖区",
        "street": "笋岗街道",
        "detail": "华通大厦"
    }
}'

返回响应

🔴500服务器错误
text/html
示例
Array
(
    [spu] => Array
        (
            [0] => Array
                (
                    [sku] => 0
                    [number] => 0
                )

        )

    [address] => Array
        (
            [consignee] => string
            [phone] => string
            [province] => string
            [city] => string
            [area] => string
            [street] => string
            [description] => string
        )

)
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>系统发生错误</title>
    <meta name="robots" content="noindex,nofollow" />
    <style>
        /* Base */
        body {
            color: #333;
            font: 16px Verdana, "Helvetica Neue", helvetica, Arial, 'Microsoft YaHei', sans-serif;
            margin: 0;
            padding: 0 20px 20px;
        }
        h1{
            margin: 10px 0 0;
            font-size: 28px;
            font-weight: 500;
            line-height: 32px;
        }
        h2{
            color: #4288ce;
            font-weight: 400;
            padding: 6px 0;
            margin: 6px 0 0;
            font-size: 18px;
            border-bottom: 1px solid #eee;
        }
        h3{
            margin: 12px;
            font-size: 16px;
            font-weight: bold;
        }
        abbr{
            cursor: help;
            text-decoration: underline;
            text-decoration-style: dotted;
        }
        a{
            color: #868686;
            cursor: pointer;
        }
        a:hover{
            text-decoration: underline;
        }
        .line-error{
            background: #f8cbcb;
        }
        .echo table {
            width: 100%;
        }
        .echo pre {
            padding: 16px;
            overflow: auto;
            font-size: 85%;
            line-height: 1.45;
            background-color: #f7f7f7;
            border: 0;
            border-radius: 3px;
            font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
        }
        .echo pre > pre {
            padding: 0;
            margin: 0;
        }
        /* Exception Info */
        .exception {
            margin-top: 20px;
        }
        .exception .message{
            padding: 12px;
            border: 1px solid #ddd;
            border-bottom: 0 none;
            line-height: 18px;
            font-size:16px;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
            font-family: Consolas,"Liberation Mono",Courier,Verdana,"微软雅黑",serif;
        }
        .exception .code{
            float: left;
            text-align: center;
            color: #fff;
            margin-right: 12px;
            padding: 16px;
            border-radius: 4px;
            background: #999;
        }
        .exception .source-code{
            padding: 6px;
            border: 1px solid #ddd;

            background: #f9f9f9;
            overflow-x: auto;

        }
        .exception .source-code pre{
            margin: 0;
        }
        .exception .source-code pre ol{
            margin: 0;
            color: #4288ce;
            display: inline-block;
            min-width: 100%;
            box-sizing: border-box;
            font-size:14px;
            font-family: "Century Gothic",Consolas,"Liberation Mono",Courier,Verdana,serif;
            padding-left: 40px;
        }
        .exception .source-code pre li{
            border-left: 1px solid #ddd;
            height: 18px;
            line-height: 18px;
        }
        .exception .source-code pre code{
            color: #333;
            height: 100%;
            display: inline-block;
            border-left: 1px solid #fff;
            font-size:14px;
            font-family: Consolas,"Liberation Mono",Courier,Verdana,"微软雅黑",serif;
        }
        .exception .trace{
            padding: 6px;
            border: 1px solid #ddd;
            border-top: 0 none;
            line-height: 16px;
            font-size:14px;
            font-family: Consolas,"Liberation Mono",Courier,Verdana,"微软雅黑",serif;
        }
        .exception .trace h2:hover {
            text-decoration: underline;
            cursor: pointer;
        }
        .exception .trace ol{
            margin: 12px;
        }
        .exception .trace ol li{
            padding: 2px 4px;
        }
        .exception div:last-child{
            border-bottom-left-radius: 4px;
            border-bottom-right-radius: 4px;
        }

        /* Exception Variables */
        .exception-var table{
            width: 100%;
            margin: 12px 0;
            box-sizing: border-box;
            table-layout:fixed;
            word-wrap:break-word;
        }
        .exception-var table caption{
            text-align: left;
            font-size: 16px;
            font-weight: bold;
            padding: 6px 0;
        }
        .exception-var table caption small{
            font-weight: 300;
            display: inline-block;
            margin-left: 10px;
            color: #ccc;
        }
        .exception-var table tbody{
            font-size: 13px;
            font-family: Consolas, "Liberation Mono", Courier, "微软雅黑",serif;
        }
        .exception-var table td{
            padding: 0 6px;
            vertical-align: top;
            word-break: break-all;
        }
        .exception-var table td:first-child{
            width: 28%;
            font-weight: bold;
            white-space: nowrap;
        }
        .exception-var table td pre{
            margin: 0;
        }

        /* Copyright Info */
        .copyright{
            margin-top: 24px;
            padding: 12px 0;
            border-top: 1px solid #eee;
        }

        /* SPAN elements with the classes below are added by prettyprint. */
        pre.prettyprint .pln { color: #000 }  /* plain text */
        pre.prettyprint .str { color: #080 }  /* string content */
        pre.prettyprint .kwd { color: #008 }  /* a keyword */
        pre.prettyprint .com { color: #800 }  /* a comment */
        pre.prettyprint .typ { color: #606 }  /* a type name */
        pre.prettyprint .lit { color: #066 }  /* a literal value */
        /* punctuation, lisp open bracket, lisp close bracket */
        pre.prettyprint .pun, pre.prettyprint .opn, pre.prettyprint .clo { color: #660 }
        pre.prettyprint .tag { color: #008 }  /* a markup tag name */
        pre.prettyprint .atn { color: #606 }  /* a markup attribute name */
        pre.prettyprint .atv { color: #080 }  /* a markup attribute value */
        pre.prettyprint .dec, pre.prettyprint .var { color: #606 }  /* a declaration; a variable name */
        pre.prettyprint .fun { color: red }  /* a function name */
    </style>
</head>
<body>
                <div class="exception">
        <div class="message">
            <div class="info">
                <div>
                    <h2>#0 [0]<abbr title="Swoole\ExitException">ExitException</abbr> in <a class="toggle" title="/www/wwwroot/supply_shop/app/controller/api/supply/SupplyOrder.php line 56">SupplyOrder.php line 56</a></h2>
                </div>
                <div><h1>swoole exit</h1></div>
            </div>
        </div>
                            <div class="source-code">
                    <pre class="prettyprint lang-php"><ol start="47"><li class="line-0-47"><code>    public function __construct(App $app, StoreOrderRepository $repository)
</code></li><li class="line-0-48"><code>    {
</code></li><li class="line-0-49"><code>        parent::__construct($app);
</code></li><li class="line-0-50"><code>        $this-&gt;repository = $repository;
</code></li><li class="line-0-51"><code>    }
</code></li><li class="line-0-52"><code>
</code></li><li class="line-0-53"><code>    //可售检测
</code></li><li class="line-0-54"><code>    function availableCheck(){
</code></li><li class="line-0-55"><code>        $param = $this-&gt;request-&gt;param();
</code></li><li class="line-0-56 line-error"><code>        print_r($param);exit;
</code></li><li class="line-0-57"><code>    }
</code></li><li class="line-0-58"><code>
</code></li><li class="line-0-59"><code>
</code></li><li class="line-0-60"><code>    //订单前置校验
</code></li><li class="line-0-61"><code>    function beforeCheck(){
</code></li><li class="line-0-62"><code>        $param = $this-&gt;request-&gt;param();
</code></li><li class="line-0-63"><code>        $sku = [];
</code></li><li class="line-0-64"><code>        foreach($param['spu'] as $k=&gt;$v){
</code></li><li class="line-0-65"><code>            $sku[]=$v['sku'];
</code></li></ol></pre>
                </div>
                    <div class="trace">
            <h2 data-expand="1">Call Stack</h2>
            <ol>
                <li>in <a class="toggle" title="/www/wwwroot/supply_shop/app/controller/api/supply/SupplyOrder.php line 56">SupplyOrder.php line 56</a></li>
                                    <li>
                        at <abbr title="app\controller\api\supply\SupplyOrder">SupplyOrder</abbr>->availableCheck()                    </li>
                                    <li>
                        at <abbr title="ReflectionMethod">ReflectionMethod</abbr>->invokeArgs() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Container.php line 343">Container.php line 343</a>                    </li>
                                    <li>
                        at <abbr title="think\Container">Container</abbr>->invokeReflectMethod() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/route/dispatch/Controller.php line 110">Controller.php line 110</a>                    </li>
                                    <li>
                        at <abbr title="think\route\dispatch\Controller">Controller</abbr>->think\route\dispatch\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Pipeline.php line 59">Pipeline.php line 59</a>                    </li>
                                    <li>
                        at <abbr title="think\Pipeline">Pipeline</abbr>->think\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Pipeline.php line 66">Pipeline.php line 66</a>                    </li>
                                    <li>
                        at <abbr title="think\Pipeline">Pipeline</abbr>->then() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/route/dispatch/Controller.php line 113">Controller.php line 113</a>                    </li>
                                    <li>
                        at <abbr title="think\route\dispatch\Controller">Controller</abbr>->exec() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/route/Dispatch.php line 89">Dispatch.php line 89</a>                    </li>
                                    <li>
                        at <abbr title="think\route\Dispatch">Dispatch</abbr>->run() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Route.php line 772">Route.php line 772</a>                    </li>
                                    <li>
                        at <abbr title="think\Route">Route</abbr>->think\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Pipeline.php line 59">Pipeline.php line 59</a>                    </li>
                                    <li>
                        at <abbr title="think\Pipeline">Pipeline</abbr>->think\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/app/common/middleware/BaseMiddleware.php line 50">BaseMiddleware.php line 50</a>                    </li>
                                    <li>
                        at <abbr title="app\common\middleware\BaseMiddleware">BaseMiddleware</abbr>->handle()                    </li>
                                    <li>
                        at call_user_func() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Middleware.php line 142">Middleware.php line 142</a>                    </li>
                                    <li>
                        at <abbr title="think\Middleware">Middleware</abbr>->think\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Pipeline.php line 85">Pipeline.php line 85</a>                    </li>
                                    <li>
                        at <abbr title="think\Pipeline">Pipeline</abbr>->think\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/app/common/middleware/RequestLockMiddleware.php line 27">RequestLockMiddleware.php line 27</a>                    </li>
                                    <li>
                        at <abbr title="app\common\middleware\RequestLockMiddleware">RequestLockMiddleware</abbr>->handle()                    </li>
                                    <li>
                        at call_user_func() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Middleware.php line 142">Middleware.php line 142</a>                    </li>
                                    <li>
                        at <abbr title="think\Middleware">Middleware</abbr>->think\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Pipeline.php line 85">Pipeline.php line 85</a>                    </li>
                                    <li>
                        at <abbr title="think\Pipeline">Pipeline</abbr>->think\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/app/common/middleware/CheckSiteOpenMiddleware.php line 29">CheckSiteOpenMiddleware.php line 29</a>                    </li>
                                    <li>
                        at <abbr title="app\common\middleware\CheckSiteOpenMiddleware">CheckSiteOpenMiddleware</abbr>->handle()                    </li>
                                    <li>
                        at call_user_func() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Middleware.php line 142">Middleware.php line 142</a>                    </li>
                                    <li>
                        at <abbr title="think\Middleware">Middleware</abbr>->think\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Pipeline.php line 85">Pipeline.php line 85</a>                    </li>
                                    <li>
                        at <abbr title="think\Pipeline">Pipeline</abbr>->think\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/app/common/middleware/BaseMiddleware.php line 50">BaseMiddleware.php line 50</a>                    </li>
                                    <li>
                        at <abbr title="app\common\middleware\BaseMiddleware">BaseMiddleware</abbr>->handle()                    </li>
                                    <li>
                        at call_user_func() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Middleware.php line 142">Middleware.php line 142</a>                    </li>
                                    <li>
                        at <abbr title="think\Middleware">Middleware</abbr>->think\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Pipeline.php line 85">Pipeline.php line 85</a>                    </li>
                                    <li>
                        at <abbr title="think\Pipeline">Pipeline</abbr>->think\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/app/common/middleware/BaseMiddleware.php line 50">BaseMiddleware.php line 50</a>                    </li>
                                    <li>
                        at <abbr title="app\common\middleware\BaseMiddleware">BaseMiddleware</abbr>->handle()                    </li>
                                    <li>
                        at call_user_func() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Middleware.php line 142">Middleware.php line 142</a>                    </li>
                                    <li>
                        at <abbr title="think\Middleware">Middleware</abbr>->think\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Pipeline.php line 85">Pipeline.php line 85</a>                    </li>
                                    <li>
                        at <abbr title="think\Pipeline">Pipeline</abbr>->think\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Pipeline.php line 66">Pipeline.php line 66</a>                    </li>
                                    <li>
                        at <abbr title="think\Pipeline">Pipeline</abbr>->then() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Route.php line 773">Route.php line 773</a>                    </li>
                                    <li>
                        at <abbr title="think\Route">Route</abbr>->dispatch() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Http.php line 216">Http.php line 216</a>                    </li>
                                    <li>
                        at <abbr title="think\Http">Http</abbr>->dispatchToRoute() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/think-swoole/src/Http.php line 55">Http.php line 55</a>                    </li>
                                    <li>
                        at <abbr title="think\swoole\Http">Http</abbr>->dispatchToRoute() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Http.php line 206">Http.php line 206</a>                    </li>
                                    <li>
                        at <abbr title="think\Http">Http</abbr>->think\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Pipeline.php line 59">Pipeline.php line 59</a>                    </li>
                                    <li>
                        at <abbr title="think\Pipeline">Pipeline</abbr>->think\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/think-swoole/src/middleware/ResetVarDumper.php line 28">ResetVarDumper.php line 28</a>                    </li>
                                    <li>
                        at <abbr title="think\swoole\middleware\ResetVarDumper">ResetVarDumper</abbr>->handle()                    </li>
                                    <li>
                        at call_user_func() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Middleware.php line 142">Middleware.php line 142</a>                    </li>
                                    <li>
                        at <abbr title="think\Middleware">Middleware</abbr>->think\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Pipeline.php line 85">Pipeline.php line 85</a>                    </li>
                                    <li>
                        at <abbr title="think\Pipeline">Pipeline</abbr>->think\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/think-trace/src/TraceDebug.php line 71">TraceDebug.php line 71</a>                    </li>
                                    <li>
                        at <abbr title="think\trace\TraceDebug">TraceDebug</abbr>->handle()                    </li>
                                    <li>
                        at call_user_func() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Middleware.php line 142">Middleware.php line 142</a>                    </li>
                                    <li>
                        at <abbr title="think\Middleware">Middleware</abbr>->think\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Pipeline.php line 85">Pipeline.php line 85</a>                    </li>
                                    <li>
                        at <abbr title="think\Pipeline">Pipeline</abbr>->think\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Pipeline.php line 66">Pipeline.php line 66</a>                    </li>
                                    <li>
                        at <abbr title="think\Pipeline">Pipeline</abbr>->then() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Http.php line 207">Http.php line 207</a>                    </li>
                                    <li>
                        at <abbr title="think\Http">Http</abbr>->runWithRequest() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Http.php line 170">Http.php line 170</a>                    </li>
                                    <li>
                        at <abbr title="think\Http">Http</abbr>->run() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/think-swoole/src/concerns/InteractsWithHttp.php line 131">InteractsWithHttp.php line 131</a>                    </li>
                                    <li>
                        at <abbr title="think\swoole\Manager">Manager</abbr>->handleRequest() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/think-swoole/src/concerns/InteractsWithHttp.php line 115">InteractsWithHttp.php line 115</a>                    </li>
                                    <li>
                        at <abbr title="think\swoole\Manager">Manager</abbr>->think\swoole\concerns\{closure}() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Container.php line 293">Container.php line 293</a>                    </li>
                                    <li>
                        at <abbr title="think\Container">Container</abbr>->invokeFunction() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/framework/src/think/Container.php line 357">Container.php line 357</a>                    </li>
                                    <li>
                        at <abbr title="think\Container">Container</abbr>->invoke() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/think-swoole/src/Sandbox.php line 86">Sandbox.php line 86</a>                    </li>
                                    <li>
                        at <abbr title="think\swoole\Sandbox">Sandbox</abbr>->run() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/think-swoole/src/concerns/WithApplication.php line 116">WithApplication.php line 116</a>                    </li>
                                    <li>
                        at <abbr title="think\swoole\Manager">Manager</abbr>->runInSandbox() in <a class="toggle" title="/www/wwwroot/supply_shop/vendor/topthink/think-swoole/src/concerns/InteractsWithHttp.php line 123">InteractsWithHttp.php line 123</a>                    </li>
                            </ol>
        </div>
    </div>
                
    
        <div class="exception-var">
        <h2>Environment Variables</h2>
                <table>
                        <caption>GET Data<small>empty</small></caption>
                    </table>
                <table>
                        <caption>POST Data</caption>
            <tbody>
                                <tr>
                    <td>spu</td>
                    <td>[
    {
        &quot;sku&quot;: 0,
        &quot;number&quot;: 0
    }
]</td>
                </tr>
                                <tr>
                    <td>address</td>
                    <td>{
    &quot;consignee&quot;: &quot;string&quot;,
    &quot;phone&quot;: &quot;string&quot;,
    &quot;province&quot;: &quot;string&quot;,
    &quot;city&quot;: &quot;string&quot;,
    &quot;area&quot;: &quot;string&quot;,
    &quot;street&quot;: &quot;string&quot;,
    &quot;description&quot;: &quot;string&quot;
}</td>
                </tr>
                            </tbody>
                    </table>
                <table>
                        <caption>Files<small>empty</small></caption>
                    </table>
                <table>
                        <caption>Cookies<small>empty</small></caption>
                    </table>
                <table>
                        <caption>Session<small>empty</small></caption>
                    </table>
                <table>
                        <caption>Server/Request Data</caption>
            <tbody>
                                <tr>
                    <td>REQUEST_METHOD</td>
                    <td>POST</td>
                </tr>
                                <tr>
                    <td>REQUEST_URI</td>
                    <td>/api/SupplyOrder/availableCheck</td>
                </tr>
                                <tr>
                    <td>PATH_INFO</td>
                    <td>/api/SupplyOrder/availableCheck</td>
                </tr>
                                <tr>
                    <td>REQUEST_TIME</td>
                    <td>1682645159</td>
                </tr>
                                <tr>
                    <td>REQUEST_TIME_FLOAT</td>
                    <td>1682645159.131</td>
                </tr>
                                <tr>
                    <td>SERVER_PROTOCOL</td>
                    <td>HTTP/1.1</td>
                </tr>
                                <tr>
                    <td>SERVER_PORT</td>
                    <td>8806</td>
                </tr>
                                <tr>
                    <td>REMOTE_PORT</td>
                    <td>56802</td>
                </tr>
                                <tr>
                    <td>REMOTE_ADDR</td>
                    <td>127.0.0.1</td>
                </tr>
                                <tr>
                    <td>MASTER_TIME</td>
                    <td>1682645159</td>
                </tr>
                                <tr>
                    <td>HTTP_HOST</td>
                    <td>supply.zw.com</td>
                </tr>
                                <tr>
                    <td>HTTP_X_REAL_IP</td>
                    <td>192.168.0.219</td>
                </tr>
                                <tr>
                    <td>HTTP_X_FORWARDED_FOR</td>
                    <td>192.168.0.219</td>
                </tr>
                                <tr>
                    <td>HTTP_REMOTE_HOST</td>
                    <td>192.168.0.219</td>
                </tr>
                                <tr>
                    <td>HTTP_CONNECTION</td>
                    <td>close</td>
                </tr>
                                <tr>
                    <td>HTTP_CONTENT_LENGTH</td>
                    <td>328</td>
                </tr>
                                <tr>
                    <td>HTTP_X_TOKEN</td>
                    <td>Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzdXBwbHkuencuY29tIiwiYXVkIjoic3VwcGx5Lnp3LmNvbSIsImlhdCI6MTY4MjQwOTg5NywibmJmIjoxNjgyNDA5ODk3LCJleHAiOjE2ODMwMTQ2OTcsImp0aSI6WzUsInVzZXIiXX0.Swfgk6w3_SuyhjssmdiUBdKPg4_uqa8ZJMke4a39MR8</td>
                </tr>
                                <tr>
                    <td>HTTP_USER_AGENT</td>
                    <td>Apifox/1.0.0 (https://www.apifox.cn)</td>
                </tr>
                                <tr>
                    <td>HTTP_CONTENT_TYPE</td>
                    <td>application/json</td>
                </tr>
                                <tr>
                    <td>HTTP_ACCEPT</td>
                    <td>*/*</td>
                </tr>
                                <tr>
                    <td>HTTP_ACCEPT_ENCODING</td>
                    <td>gzip, deflate, br</td>
                </tr>
                            </tbody>
                    </table>
            </div>
    
    <div class="copyright">
        <a title="官方网站" href="http://www.thinkphp.cn">ThinkPHP</a> 
        <span>V6.0.7</span> 
        <span>{ 十年磨一剑-为API开发设计的高性能框架 }</span>
        <span>- <a title="官方手册" href="https://www.kancloud.cn/manual/thinkphp6_0/content">官方手册</a></span>
    </div>
        <script>
        function $(selector, node){
            var elements;

            node = node || document;
            if(document.querySelectorAll){
                elements = node.querySelectorAll(selector);
            } else {
                switch(selector.substr(0, 1)){
                    case '#':
                        elements = [node.getElementById(selector.substr(1))];
                        break;
                    case '.':
                        if(document.getElementsByClassName){
                            elements = node.getElementsByClassName(selector.substr(1));
                        } else {
                            elements = get_elements_by_class(selector.substr(1), node);
                        }
                        break;
                    default:
                        elements = node.getElementsByTagName();
                }
            }
            return elements;

            function get_elements_by_class(search_class, node, tag) {
                var elements = [], eles, 
                    pattern  = new RegExp('(^|\\s)' + search_class + '(\\s|$)');

                node = node || document;
                tag  = tag  || '*';

                eles = node.getElementsByTagName(tag);
                for(var i = 0; i < eles.length; i++) {
                    if(pattern.test(eles[i].className)) {
                        elements.push(eles[i])
                    }
                }

                return elements;
            }
        }

        $.getScript = function(src, func){
            var script = document.createElement('script');
            
            script.async  = 'async';
            script.src    = src;
            script.onload = func || function(){};
            
            $('head')[0].appendChild(script);
        }

        ;(function(){
            var files = $('.toggle');
            var ol    = $('ol', $('.prettyprint')[0]);
            var li    = $('li', ol[0]);   

            // 短路径和长路径变换
            for(var i = 0; i < files.length; i++){
                files[i].ondblclick = function(){
                    var title = this.title;

                    this.title = this.innerHTML;
                    this.innerHTML = title;
                }
            }

            (function () {
                var expand = function (dom, expand) {
                    var ol = $('ol', dom.parentNode)[0];
                    expand = undefined === expand ? dom.attributes['data-expand'].value === '0' : undefined;
                    if (expand) {
                        dom.attributes['data-expand'].value = '1';
                        ol.style.display = 'none';
                        dom.innerText = 'Call Stack (展开)';
                    } else {
                        dom.attributes['data-expand'].value = '0';
                        ol.style.display = 'block';
                        dom.innerText = 'Call Stack (折叠)';
                    }
                };
                var traces = $('.trace');
                for (var i = 0; i < traces.length; i ++) {
                    var h2 = $('h2', traces[i])[0];
                    expand(h2);
                    h2.onclick = function () {
                        expand(this);
                    };
                }
            })();

            $.getScript('//cdn.bootcss.com/prettify/r298/prettify.min.js', function(){
                prettyPrint();
            });
        })();
    </script>
    </body>
</html>
修改于 2026-01-07 09:13:12
上一页
我的选品库
下一页
订单校验
Built with