...
|
...
|
@@ -407,6 +407,8 @@ class Api |
|
|
->select();
|
|
|
|
|
|
$tidu = Db::name('product')->where(['id' => $product_id])->find();
|
|
|
dump($tidu);
|
|
|
die;
|
|
|
if ($tidu['tidu1'] != "") {
|
|
|
if ($buy_num < $tidu['tidu1'] & $buy_num > 0) {
|
|
|
$price = $buy_num * $tidu['price'];
|
...
|
...
|
|