提交 25330333 编写于 作者: D devil_gong

未登录应用优化

上级 cf09472a
......@@ -398,7 +398,7 @@ class BuyService
$ret['data'][0]['stock'] = $params['stock'];
$ret['data'][0]['total_price'] = $params['stock']*$ret['data'][0]['price'];
return DataReturn('操作成功', 0, $goods);
return DataReturn('操作成功', 0, $ret['data']);
}
/**
......
......@@ -60,7 +60,7 @@ App({
// 请求地址
request_url: "{{request_url}}",
//request_url: 'https://test.shopxo.net/',
request_url: 'https://test.shopxo.net/',
// 基础信息
application_title: "{{application_title}}",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册