老库存注释

This commit is contained in:
2026-04-14 16:34:47 +08:00
parent 8e9e05a6b4
commit 597a119e59

View File

@@ -220,6 +220,7 @@ class Shopping extends Base
$message_edit['remark'] = $message['remark']; $message_edit['remark'] = $message['remark'];
} }
$res = self::edit_data($message_edit); $res = self::edit_data($message_edit);
print_r('更新结果...' . $res);
$s_id = self::get_shopping_send_id($message); $s_id = self::get_shopping_send_id($message);
$rand = 'shopping_edit' . Random::build(); $rand = 'shopping_edit' . Random::build();
if($res) { if($res) {
@@ -230,6 +231,9 @@ class Shopping extends Base
}else { }else {
$status = 0; $status = 0;
} }
print_r('发送的status...' . $status);
print_r('发送的data...');
print_r($data);
$snd_data = [ $snd_data = [
'msg' => '购物车修改', 'msg' => '购物车修改',
'operate_type' => 'edit', 'operate_type' => 'edit',
@@ -238,6 +242,8 @@ class Shopping extends Base
'status' => $status, 'status' => $status,
'data' => $data[0] 'data' => $data[0]
]; ];
print_r('发送回执前...');
print_r($snd_data);
self::gateway_query('sendToUid', [$s_id, json_encode($snd_data)]); self::gateway_query('sendToUid', [$s_id, json_encode($snd_data)]);
}catch (Exception $e) { }catch (Exception $e) {
Log::info('修改购物车时[error]->>>>>' . $e->getMessage()); Log::info('修改购物车时[error]->>>>>' . $e->getMessage());