【ecstore】gift基础知识

gift-基础知识

描述文件

icon.png

app图标

app.xml

app描述文件
包括:app->name,
app->description,
app->author,
app->version,
app->license,
app->depends;

desktop.xml

后台界面显示
包括desktop->permissions,
desktop->workground->menugroup->menu;

site.xml

前台界面显示
site->module->name,
site->module->title,
site->module->disable,site->module->allow_menu,
site->module->allow_seo;

services.xml

service注册

b2c_promotion_solution_tpl_apps->gift_promotion_solutions_gift
desktop_finder.gift_mdl_cat->gift_finder_cat
desktop_finder.gift_mdl_ref->gift_finder_goods
b2c_cart_object_apps->gift_cart_object_gift
b2c_cart_render_items_apps->gift_cart_render_item_gift
b2c_cart_render_items_goods_apps->gift_cart_render_item_goods_gift
order_goodstype_operation->gift_order_service_gift
b2c.exchange_gift->gift_exchange_gift
b2c_allow_delete_goods->gift_delete_check
site_view_helper->gift_site_view_helper
b2c_mdl_goods.filter->gift_goods_promotion

task.php

gift任务定义。
class gift_task {};
pre_install,post_install,pre_uninstall,post_uninstall.

operatorlog.xml

字面意思:管理员登录
营销管理->赠品管理->删除赠品

dbchema

数据表定义

cat

对应后台管理 营销/赠品管理/赠品分类

字段名称说明
cat_id分类ID
cat_name分类名称
p_order排序
ifpub是否发布
disable是否屏蔽
'comment' => app::get ( 'gift' )->\_ ( '赠品类目表' ),
'version' => '$Rev: 41329 $' 

ref

对应后台管理 营销/赠品管理/赠品

字段名称说明
product_id赠品ID
bn编号
goods_id商品ID
cat_id分类
name赠品名称
member_lv_ids会员等级ID
marketable是否发布
consume_score兑换所需积分
from_time兑换开始时间
to_time兑换结束时间
order排序
max_buy_store每人最大购买量
max_limit赠品数量
real_limit已赠送赠品数量
brief赠品简介
'index' => array (
                'index_gift' => array (
                        'columns' => array (
                                0 => 'product_id' 
                        ) ) ),
'version' => '$Rev: 41329 $',
'comment' => app::get ( 'gift' )->_ ( '赠品表' ) 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值