- add test config

- refresh elme and weixin token only in prod env.
- change dada callback to dadadelivery/msg
This commit is contained in:
gazebo
2018-06-29 10:43:40 +08:00
parent 718c54b507
commit 73369ef436
4 changed files with 32 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ func (c *DadaOrderController) URLMapping() {
// @Description create object
// @Success 200 {string} models.Object.Id
// @Failure 403 body is empty
// @router /order [post]
// @router /msg [post]
func (c *DadaOrderController) OrderStatusChanged() {
obj, callbackResponse := globals2.DadaAPI.GetOrderCallbackMsg(c.Ctx.Input.RequestBody)
if callbackResponse == nil {