老库存注释
This commit is contained in:
@@ -224,12 +224,14 @@ class Shopping extends Base
|
||||
print_r('更新结果...' . $res);
|
||||
$s_id = self::get_shopping_send_id($message);
|
||||
$rand = 'shopping_edit' . Random::build();
|
||||
$str = 'edit';
|
||||
if($res) {
|
||||
$status = 1;
|
||||
$data = Db::query("
|
||||
SELECT * FROM `tb_cashier_cart` WHERE
|
||||
`id`={$message['id']}");
|
||||
if(empty($data)) {
|
||||
$str = 'del';
|
||||
$data = $y_data;
|
||||
}
|
||||
}else {
|
||||
@@ -240,7 +242,7 @@ class Shopping extends Base
|
||||
print_r($data);
|
||||
$snd_data = [
|
||||
'msg' => '购物车修改',
|
||||
'operate_type' => 'edit',
|
||||
'operate_type' => $str,
|
||||
'msg_id' => $rand,
|
||||
'type' => 'shopping',
|
||||
'status' => $status,
|
||||
|
||||
Reference in New Issue
Block a user