接口改造
<h4>/*----------------------获取患者配置文件---------------------------------</h4>
<p><strong>go :获取患者配置文件 </strong></p>
<ul>
<li>
<p>/api/v3/list_obiects (post)
请求参数
path:patients/e450226726bbb9d46acd91ce4d178d49/Configuration/beta_1_1</p>
<p>返回</p>
</li>
</ul>
<pre><code>{
&quot;result&quot;: [
{
&quot;fileName&quot;: &quot;patients/e450226726bbb9d46acd91ce4d178d49/Configuration/beta_1_1/configuration2024_5_20_17_06_38.zip&quot;,
&quot;presignedUrl&quot;: &quot;https://szu202-tooth.oss-cn-shenzhen.aliyuncs.com/patients%2Fe450226726bbb9d46acd91ce4d178d49%2FConfiguration%2Fbeta_1_1%2Fconfiguration2024_5_20_17_06_38.zip?Expires=5318510986&amp;OSSAccessKeyId=LTAI5tScWfnR8audUZX4b6Yr&amp;Signature=07lN9dAEbCnZBIH9UEu9XhmN85M%3D&quot;
},
{
&quot;fileName&quot;: &quot;patients/e450226726bbb9d46acd91ce4d178d49/Configuration/beta_1_1/configuration2024_5_20_17_27_04.zip&quot;,
&quot;presignedUrl&quot;: &quot;https://szu202-tooth.oss-cn-shenzhen.aliyuncs.com/patients%2Fe450226726bbb9d46acd91ce4d178d49%2FConfiguration%2Fbeta_1_1%2Fconfiguration2024_5_20_17_27_04.zip?Expires=5318510986&amp;OSSAccessKeyId=LTAI5tScWfnR8audUZX4b6Yr&amp;Signature=XOHHWqzQIdC%2FAQBK17KftkFCQiw%3D&quot;
},
]
}
</code></pre>
<p><strong>php :获取患者配置文件 </strong></p>
<ul>
<li>
<p>/api/customer/getConfiguration (get)
请求参数
path:patients/e450226726bbb9d46acd91ce4d178d49/Configuration/beta_1_1</p>
<p>返回</p>
</li>
</ul>
<pre><code>{
&quot;code&quot;: 10000,
&quot;message&quot;: &quot;操作成功&quot;,
&quot;data&quot;: [
{
&quot;fileName&quot;: &quot;/patients/e450226726bbb9d46acd91ce4d178d49/Configuration/beta_1_1/configuration2024_5_20_17_06_38.zip&quot;,
&quot;presignedUrl&quot;: &quot;https://image.intelligentorigin.net/patients/e450226726bbb9d46acd91ce4d178d49/Configuration/beta_1_1/configuration2024_5_20_17_06_38.zip&quot;
},
{
&quot;fileName&quot;: &quot;/patients/e450226726bbb9d46acd91ce4d178d49/Configuration/beta_1_1/configuration2024_5_20_17_27_04.zip&quot;,
&quot;presignedUrl&quot;: &quot;https://image.intelligentorigin.net/patients/e450226726bbb9d46acd91ce4d178d49/Configuration/beta_1_1/configuration2024_5_20_17_27_04.zip&quot;
},
}
</code></pre>
<h4>/*----------------------删除OSS资源---------------------------------</h4>
<p><strong>go :删除OSS资源 </strong></p>
<ul>
<li>
<p>/api/v3/delete_object (post)
请求参数
path:patients/e450226726bbb9d46acd91ce4d178d49/Configuration/beta_1_1</p>
<p>返回</p>
</li>
</ul>
<pre><code>{
}
</code></pre>
<p><strong>php :删除OSS资源 </strong></p>
<ul>
<li>
<p>/api/customer/getConfiguration (delete)
请求参数
path:patients/e450226726bbb9d46acd91ce4d178d49/Configuration/beta_1_1</p>
<p>返回</p>
</li>
</ul>
<pre><code>{
&quot;code&quot;: 10000,
&quot;message&quot;: &quot;操作成功&quot;,
&quot;data&quot;: []
}
</code></pre>
<h4>/*----------------------设计端-上传OSS文件---------------------------------</h4>
<p><strong>go :设计端-上传OSS文件 </strong></p>
<ul>
<li>
<p>/api/v2/patients/:id/files/presign/upload (post)
请求参数</p>
<p>返回</p>
</li>
</ul>
<pre><code>{
}
</code></pre>
<p><strong>php :设计端-上传OSS文件 </strong></p>
<ul>
<li>
<p>/api/customer/uploadObject (post)
请求参数
path: patients/e450226726bbb9d46acd91ce4d178d49/image
file: file</p>
<p>返回</p>
</li>
</ul>
<pre><code>{
&quot;code&quot;: 10000,
&quot;message&quot;: &quot;操作成功&quot;,
&quot;data&quot;: {
&quot;path&quot;: &quot;https://image.intelligentorigin.net/1821a034090a21f47e7ea7e0bd311acb/1718544193598729.png&quot;,
&quot;ext&quot;: &quot;png&quot;,
&quot;type&quot;: &quot;file&quot;,
&quot;size&quot;: 116022,
&quot;originalName&quot;: &quot;微信截图_20240604201107.png&quot;
}
}
</code></pre>