<noframes id="bhrfl"><address id="bhrfl"></address>

    <address id="bhrfl"></address>

    <noframes id="bhrfl"><address id="bhrfl"><th id="bhrfl"></th></address>

    <form id="bhrfl"><th id="bhrfl"><progress id="bhrfl"></progress></th></form>

    <em id="bhrfl"><span id="bhrfl"></span></em>

    全部
    常見問題
    產品動態
    精選推薦

    Java單商戶2.2版本移動端用戶下單報錯:服務器數據異常,請聯系管理員

    管理 管理 編輯 刪除

    Java單商戶2.2版本移動端用戶下單報錯:服務器數據異常,請聯系管理員

    62cdb202412261105595551.png

    查看front的日志

    db8ce202412261106318053.png

    解決辦法

    刪除現有的“eb_store_order”表,執行下面的語句重新創建表

    CREATE TABLE `eb_store_order` (
      `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '訂單ID',
      `order_id` varchar(32) NOT NULL COMMENT '訂單號',
      `uid` int(11) unsigned NOT NULL COMMENT '用戶id',
      `real_name` varchar(32) NOT NULL COMMENT '用戶姓名',
      `user_phone` varchar(18) NOT NULL COMMENT '用戶電話',
      `user_address` varchar(100) NOT NULL COMMENT '詳細地址',
      `freight_price` decimal(8,2) NOT NULL DEFAULT '0.00' COMMENT '運費金額',
      `total_num` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '訂單商品總數',
      `total_price` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '訂單總價',
      `total_postage` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '郵費',
      `pay_price` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '實際支付金額',
      `pay_postage` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '支付郵費',
      `deduction_price` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '抵扣金額',
      `coupon_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '優惠券id',
      `coupon_price` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '優惠券金額',
      `paid` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '支付狀態',
      `pay_time` timestamp NULL DEFAULT NULL COMMENT '支付時間',
      `pay_type` varchar(32) NOT NULL DEFAULT '' COMMENT '支付方式',
      `create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '創建時間',
      `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '訂單狀態(0:待發貨;1:待收貨;2:已收貨,待評價;3:已完成;)',
      `refund_status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '0 未退款 1 申請中 2 已退款 3 退款中',
      `refund_reason_wap_img` varchar(5000) DEFAULT NULL COMMENT '退款圖片',
      `refund_reason_wap_explain` varchar(255) DEFAULT NULL COMMENT '退款用戶說明',
      `refund_reason_wap` varchar(255) DEFAULT NULL COMMENT '前臺退款原因',
      `refund_reason` varchar(255) DEFAULT NULL COMMENT '不退款的理由',
      `refund_reason_time` timestamp NULL DEFAULT NULL COMMENT '退款時間',
      `refund_price` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '退款金額',
      `delivery_name` varchar(64) DEFAULT NULL COMMENT '快遞名稱/送貨人姓名',
      `delivery_type` varchar(32) DEFAULT NULL COMMENT '發貨類型 express 發貨,send 送貨,fictitious虛擬',
      `delivery_id` varchar(64) DEFAULT NULL COMMENT '快遞單號/手機號',
      `gain_integral` int(11) DEFAULT '0' COMMENT '消費賺取積分',
      `use_integral` int(11) DEFAULT '0' COMMENT '使用積分',
      `back_integral` int(11) DEFAULT '0' COMMENT '給用戶退了多少積分',
      `mark` varchar(512) NOT NULL COMMENT '備注',
      `is_del` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否刪除',
      `remark` varchar(512) DEFAULT NULL COMMENT '管理員備注',
      `mer_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '商戶ID',
      `is_mer_check` tinyint(3) unsigned NOT NULL DEFAULT '0',
      `combination_id` int(11) unsigned DEFAULT '0' COMMENT '拼團商品id0一般商品',
      `pink_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '拼團id 0沒有拼團',
      `cost` decimal(8,2) unsigned NOT NULL COMMENT '成本價',
      `seckill_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '秒殺商品ID',
      `bargain_id` int(11) unsigned DEFAULT '0' COMMENT '砍價id',
      `verify_code` varchar(12) NOT NULL DEFAULT '' COMMENT '核銷碼',
      `store_id` int(11) NOT NULL DEFAULT '0' COMMENT '門店id',
      `shipping_type` tinyint(1) NOT NULL DEFAULT '1' COMMENT '配送方式 1=快遞 ,2=門店自提',
      `clerk_id` int(11) NOT NULL DEFAULT '0' COMMENT '店員id/核銷員id',
      `is_channel` tinyint(1) unsigned DEFAULT '0' COMMENT '支付渠道(0微信公眾號1微信小程序2余額)',
      `is_remind` tinyint(1) unsigned DEFAULT '0' COMMENT '消息提醒',
      `is_system_del` tinyint(1) DEFAULT '0' COMMENT '后臺是否刪除',
      `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新時間',
      `delivery_code` varchar(50) DEFAULT NULL COMMENT '快遞公司簡稱',
      `bargain_user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '用戶拼團活動id 0沒有',
      `type` int(3) NOT NULL DEFAULT '0' COMMENT '訂單類型:0-普通訂單,1-視頻號訂單',
      `pro_total_price` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '商品總價',
      `before_pay_price` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '改價前支付金額',
      `is_alter_price` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否改價,0-否,1-是',
      `out_trade_no` varchar(32) DEFAULT NULL COMMENT '商戶系統內部的訂單號,32個字符內、可包含字母, 其他說明見商戶訂單號',
      `shipment_pic` varchar(255) DEFAULT NULL COMMENT '商家寄件單號圖片',
      `shipment_task_id` varchar(64) DEFAULT NULL COMMENT '商家寄件訂單任務id',
      `shipment_order_id` varchar(64) DEFAULT NULL COMMENT '商家寄件訂單單號',
      `shipment_num` varchar(64) DEFAULT NULL COMMENT '商家寄件快遞單號',
      `express_record_type` int(11) DEFAULT NULL COMMENT '發貨記錄類型,1快遞、2送貨, 3虛擬發貨',
      PRIMARY KEY (`id`) USING BTREE,
      UNIQUE KEY `order_id_2` (`order_id`,`uid`) USING BTREE,
      KEY `uid` (`uid`) USING BTREE,
      KEY `add_time` (`create_time`) USING BTREE,
      KEY `pay_price` (`pay_price`) USING BTREE,
      KEY `paid` (`paid`) USING BTREE,
      KEY `pay_time` (`pay_time`) USING BTREE,
      KEY `pay_type` (`pay_type`) USING BTREE,
      KEY `status` (`status`) USING BTREE,
      KEY `is_del` (`is_del`) USING BTREE,
      KEY `coupon_id` (`coupon_id`) USING BTREE
    ) ENGINE=InnoDB AUTO_INCREMENT=206 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='訂單表';


    請登錄后查看

    CRMEB-何天 最后編輯于2024-12-26 11:08:32

    快捷回復
    回復
    回復
    回復({{post_count}}) {{!is_user ? '我的回復' :'全部回復'}}
    排序 默認正序 回復倒序 點贊倒序

    {{item.user_info.nickname ? item.user_info.nickname : item.user_name}} LV.{{ item.user_info.bbs_level }}

    作者 管理員 企業

    {{item.floor}}# 同步到gitee 已同步到gitee {{item.is_suggest == 1? '取消推薦': '推薦'}}
    {{item.is_suggest == 1? '取消推薦': '推薦'}}
    沙發 板凳 地板 {{item.floor}}#
    {{item.user_info.title || '暫無簡介'}}
    附件

    {{itemf.name}}

    {{item.created_at}}  {{item.ip_address}}
    打賞
    已打賞¥{{item.reward_price}}
    {{item.like_count}}
    {{item.showReply ? '取消回復' : '回復'}}
    刪除
    回復
    回復

    {{itemc.user_info.nickname}}

    {{itemc.user_name}}

    回復 {{itemc.comment_user_info.nickname}}

    附件

    {{itemf.name}}

    {{itemc.created_at}}
    打賞
    已打賞¥{{itemc.reward_price}}
    {{itemc.like_count}}
    {{itemc.showReply ? '取消回復' : '回復'}}
    刪除
    回復
    回復
    查看更多
    打賞
    已打賞¥{{reward_price}}
    1644
    {{like_count}}
    {{collect_count}}
    添加回復 ({{post_count}})

    相關推薦

    快速安全登錄

    使用微信掃碼登錄
    {{item.label}} 加精
    {{item.label}} {{item.label}} 板塊推薦 常見問題 產品動態 精選推薦 首頁頭條 首頁動態 首頁推薦
    取 消 確 定
    回復
    回復
    問題:
    問題自動獲取的帖子內容,不準確時需要手動修改. [獲取答案]
    答案:
    提交
    bug 需求 取 消 確 定
    打賞金額
    當前余額:¥{{rewardUserInfo.reward_price}}
    {{item.price}}元
    請輸入 0.1-{{reward_max_price}} 范圍內的數值
    打賞成功
    ¥{{price}}
    完成 確認打賞

    微信登錄/注冊

    切換手機號登錄

    {{ bind_phone ? '綁定手機' : '手機登錄'}}

    {{codeText}}
    切換微信登錄/注冊
    暫不綁定
    亚洲欧美字幕
    CRMEB客服

    CRMEB咨詢熱線 咨詢熱線

    400-8888-794

    微信掃碼咨詢

    CRMEB開源商城下載 源碼下載 CRMEB幫助文檔 幫助文檔
    返回頂部 返回頂部
    CRMEB客服