## 获取产品优惠过期时间接口
**接口地址:**
~~~
http://域名/index.php?route=extension/module/elepush/asyn&action=getSpecialTime
~~~
**请求方式:**
`post`
**请求参数:**
~~~
id(int)
~~~
**请求必须参数:**
`pid`
**返回值:json**
~~~
成功:`{"msg":"get time successfull!","code":1,"data":{"end_date":"2018-04-26 23:59:59","current_date":"2018-04-16 09:02:31"}}`
失败:`{"msg":"Product special price is overtime!","code":2,"data":[]}`
产口ID不正确:`{"msg":"Access Deny!","code":2,"data":[]}`
~~~
## 网络红人提交接口
**接口地址:**
~~~
http://域名/index.php?route=extension/module/elepush/asyn&action=red
~~~
**请求方式:**
`post`
**请求必须参数:**
~~~
type(string)
firstname(string)
lastname(string)
country(string)
email(string)
url(string)
~~~
**返回值:json**
成功:
~~~
{"msg":"Your info record successfull!","code":1,"data":[]}
~~~
失败:
~~~
{"msg":"Product special price is overtime!","code":2,"data":[]}
~~~
数据验证失败:
~~~
{"msg":"data: '.$key.' can\'t be empty!","code":2,"data":[]}
~~~
## 产品注册提交接口
**接口地址:**
~~~
http://域名/index.php?route=extension/module/elepush/asyn&action=registProduct
~~~
**请求方式:**
`post`
**请求参数:**
~~~
email(string)
order(string)
~~~
**返回值:json**
~~~
成功:{"msg":"product Regist successfull!","code":1,"data":[]}
失败:{"msg":"Access Deny","code":2,"data":[]}
~~~