3.1下单
POST
addOrder
接口描述
消费下单,菜单模式时,需要传入菜品ID
请求参数
参数名
类型
描述
必填
token
String
登录TOKEN
必填
appid
String
商户appid
必填
amount
Double
订单金额,最多两位小数点
必填
product_id
Long
菜单模式时需传入,菜品 ID,取得商品接口返回的
可选