...
|
...
|
@@ -2,6 +2,7 @@ |
|
|
|
|
|
namespace addons\litestore\model;
|
|
|
|
|
|
use app\api\model\LitestoreGoods;
|
|
|
use think\Model;
|
|
|
use think\Db;
|
|
|
|
...
|
...
|
@@ -145,7 +146,7 @@ class Litestoreorder extends Model |
|
|
{
|
|
|
// 商品信息
|
|
|
$goods = Wxlitestoregoods::detail($goods_id);
|
|
|
return $goods;
|
|
|
return [$goods,LitestoreGoods::getLastSql()];
|
|
|
$goods['show_error'] = 0;
|
|
|
// 判断商品是否下架
|
|
|
if ($goods['goods_status'] !== '10') {
|
...
|
...
|
|