## 获取现在的功能 
> POST /index.php/v1/goods_list

|参数名|必须|类型|备注|
|:-|:-|:-|:-|
|无|-|-|-|

返回值
```json
[
  {
    {
    "id": 1,
    "title": "照片上色", 
    "summary": "给照片上色",
    "icon": "/upload/test.png",
    "price": 1, // 价格,分,显示的时候要转成源
    "sort": 999,
    "funct_name": "mark_order_zhaopianshangse", // 下单的时候调用的接口名
    },
    ...
  }
]
```

## 下单照片上色
> POST /index.php/v1/mark_order_zhaopianshangse

|参数名|必须|类型|备注|
|:-|:-|:-|:-|
|goods_id|Y|int|goods_list接口返回的id|
|path|Y|string|wx_upload接口上传的图片返回的path|

返回值
```json
{
 "order_no":"Z1231231231231", // 订单号 
}
```

## 下单一寸照
> POST /index.php/v1/mark_order_yiCunZhao

|参数名|必须|类型|备注|
|:-|:-|:-|:-|
|goods_id|Y|int|goods_list接口返回的id|
|path|Y|string|wx_upload接口上传的图片返回的path|
|color|Y|enum|enum[blue,red,white],背景色|

返回值
```json
{
 "order_no":"Z1231231231231", // 订单号 
}
```

## 下单VIP
> POST /index.php/v1/mark_order_vip

|参数名|必须|类型|备注|
|:-|:-|:-|:-|
|goods_id|Y|int|goods_list接口返回的id|
|num|Y|int|买几个月,默认是1|

返回值
```json
{
 "order_no":"Z1231231231231", // 订单号 
}
```


## 查询订单状态
> POST /index.php/v1/fetch_order

|参数名|必须|类型|备注|
|:-|:-|:-|:-|
|order_no|Y|string|订单号|

返回值
```json
{
  "id": 2,
  "user_id": 1,
  "goods_id": 1,
  "from_user_id": null,
  "create_time": "2025-05-17 21:45:37",
  "pay_time": null,
  "status": "wait_pay", // 支付状态,wait_pay待付款,cancal取消,wait_refund,等待退款refund已退款
  "order_no": "Z5051721453701",
  "price": 1,
  "pay_wx_refund_data": null,
  "deal_status": "init", // 任务处理状态,init待处理,ing处理中,done处理成功,fail处理失败
  "funct_name": "mark_order_zhaopianshangse",
  "deal_result":"https://aluyun.com/a.jpg",// 处理结果,处理图片的,就返回图片下载路径,要及时获取,可能超时就获取不到图
}
```
