## **1、獲取圖片編碼:**
### **圖片上傳為一個單獨的接口,非ISV接口**
### **上傳圖片地址:[https://pay.90houwangluo.com/index/index/upimg](https://pay.90houwangluo.com/index/index/upimg)**
### **上傳方式:POST**
* * *
### 接口請求參數:
| 參數代碼(name值) | 參數說明 | 是否必須 |
| --- | --- | --- |
| file | 圖片源文件(不能為URL) | 是 |
### 接口返回:
~~~
成功時返回: {"code":"1","imgid":"ID"} // ID為圖片ID
失敗時返回: {"code":"0","msg":"錯誤說明"}
// 如果接口沒有返回任何代碼,或者返回錯誤頁面。即為圖片大小超過2M或圖片已損壞
~~~