分享
  • 收藏
  • 举报
    X
    @admin 商城的库存还是没加上吗
    473
    1

    之前看到老大你发的帖子 https://x1.php168.com/bbs/show-5014.html

    可是我新装的系统 怎么没有库存, 如何升级呢?

    7
    赏礼
    赏钱
    收藏
    点击回复
        全部留言
    • 1
    • admin 超级管理员 消费:3.03元 2018-11-05 13:24 13:246楼

      新装有的呀.更新过的了.你没有的话,就在后台添加字段吧. 

       INSERT INTO `qb_shop_field` (`id`, `name`, `title`, `type`, `field_type`, `value`, `options`, `about`, `show`, `mid`, `ajax_url`, `next_items`, `param`, `format`, `table`, `level`, `key`, `option`, `pid`, `list`, `listshow`, `ifsearch`, `ifmust`, `nav`, `input_width`, `input_height`, `unit`, `match`, `css`, `script`, `trigger`) VALUES(0, 'num', '库存量', 'number', 'mediumint(7) NOT NULL DEFAULT ''0''', '500', '', '', 1, 1, '', '', '', '', '', 2, '', '', '', 97, 0, 0, 0, '', '', '', '', '', '', '', '');
      
      ALTER TABLE `qb_shop_content1` ADD  `num` MEDIUMINT( 6 ) NOT NULL DEFAULT  '500' COMMENT  '库存量';
       UPDATE `qb_shop_content1` SET  `num` =20;


    0 赏钱 赏礼回复
    更多回复
    恢复多功能编辑器
  • 3 1
  • 推荐内容
    扫一扫访问手机版
    请选择要切换的马甲:

     
    网页即时交流
    QQ咨询
    咨询热线
    020-28998648