您的位置:首页 > 其它

【ecstore】gift基础知识

2015-08-12 14:55 344 查看

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' )->_ ( '赠品表' )
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ecstore gift 赠品管理