星光号卡api接口开发文档


照片上传

<p>此接口用于星光需上传三照产品因网络传输原因或等待上传照片下进行照片补传!</p> <p>照片格式要求:PNG/JPG图片,不大于2MB</p> <h3><strong>基本信息</strong></h3> <ul> <li><strong>接口状态:</strong>已完成</li> <li><strong>接口URL:</strong>POSThttp://xg.tkcdk.cn/order/api/haoteam/getimg</li> <li><strong>Content-Type:</strong>multipart/form-data</li> <li><strong>认证方式:</strong>无需认证</li> </ul> <h3>环境URL</h3> <p>:</p> <h3>请求参数</h3> <h4>Body 请求参数</h4> <p>&lt;table id=&quot;UyFhd&quot; class=&quot;ne-table&quot; style=&quot;table-layout: fixed; border-collapse: collapse; border: 1px solid #d9d9d9; width: 750px&quot;&gt;&lt;tbody&gt;&lt;tr style=&quot;height: 33px&quot;&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9; background-color: rgb(250, 250, 250)&quot;&gt;&lt;p id=&quot;ua42b59a8&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;strong&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: var(--color); font-size: 12px&quot;&gt;参数名&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9; background-color: rgb(250, 250, 250)&quot;&gt;&lt;p id=&quot;ua2aa746f&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;strong&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: var(--color); font-size: 12px&quot;&gt;参数值&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9; background-color: rgb(250, 250, 250)&quot;&gt;&lt;p id=&quot;uf9725147&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;strong&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: var(--color); font-size: 12px&quot;&gt;是否必填&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9; background-color: rgb(250, 250, 250)&quot;&gt;&lt;p id=&quot;u2ee4c541&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;strong&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: var(--color); font-size: 12px&quot;&gt;参数类型&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9; background-color: rgb(250, 250, 250)&quot;&gt;&lt;p id=&quot;u1187596f&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;strong&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: var(--color); font-size: 12px&quot;&gt;描述说明&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;height: 33px&quot;&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;u5d6c2b73&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;face&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;uf92802ac&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;[文件路径]&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;u3a5d7ba0&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;是&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;u3580d472&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;[文件类型]&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;u64371bca&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;身份证人像面&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;height: 33px&quot;&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;ud39ec487&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;back&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;u36fd8412&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;[文件路径]&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;ue12d3f1a&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;是&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;u19cf2006&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;[文件类型]&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;u899a5ebf&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;身份证国徽面&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;height: 33px&quot;&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;u5a7645ed&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;hand&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;ubd270b8a&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;[文件路径]&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;u6a382584&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;是&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;ua538110e&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;[文件类型]&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;ue594d1d7&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;免冠人像照&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;height: 33px&quot;&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;uf60eee0b&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;order_id&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;u1a4bc20d&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;HT2023111015044046891&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;u327448bc&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;是&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;u9aad8f09&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;String&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;150&quot; style=&quot;border: 1px solid #d9d9d9&quot;&gt;&lt;p id=&quot;uacacbba3&quot; class=&quot;ne-p&quot; style=&quot;margin: 0; padding: 0; min-height: 24px&quot;&gt;&lt;span class=&quot;ne-text&quot; style=&quot;color: rgb(128, 128, 128); font-size: 12px&quot;&gt;星光订单号&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;</p> <h3>响应示例</h3> <h4>成功 (200)</h4> <p>复制</p> <pre><code>{ &amp;quot;code&amp;quot;: 200, &amp;quot;msg&amp;quot;: &amp;quot;提交成功&amp;quot; }</code></pre> <h4>失败 (400)</h4> <p>复制</p> <pre><code>{ &amp;quot;code&amp;quot;: 400, &amp;quot;msg&amp;quot;: &amp;quot;三张照片必须全部上传!&amp;quot; }</code></pre>

页面列表

ITEM_HTML