🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 获取产品优惠过期时间接口 **接口地址:** ~~~ 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":[]} ~~~