Magento EE:奖励积分调整行动定义

时间:2013-06-28 22:40:41

标签: magento

在Magento EE的数据库中,有一个名为enterprise_reward_history的表,其中存在一个名为action的列。 action具有奖励积分调整动作类型的ID(例如0:主持人动作; 1:兑换等),但我似乎无法找到定义的存储位置。我已经从ID 1 - 11中找出了我们的大部分内容,但我仍然缺少5和10,可能还有11个。

有人知道吗?

1 个答案:

答案 0 :(得分:1)

app/code/core/Enterprise/Reward/Model/Reward.php它们是常数:

const REWARD_ACTION_ADMIN               = 0;
const REWARD_ACTION_ORDER               = 1;
const REWARD_ACTION_REGISTER            = 2;
const REWARD_ACTION_NEWSLETTER          = 3;
const REWARD_ACTION_INVITATION_CUSTOMER = 4;
const REWARD_ACTION_INVITATION_ORDER    = 5;
const REWARD_ACTION_REVIEW              = 6;
const REWARD_ACTION_TAG                 = 7;
const REWARD_ACTION_ORDER_EXTRA         = 8;
const REWARD_ACTION_CREDITMEMO          = 9;
const REWARD_ACTION_SALESRULE           = 10;
const REWARD_ACTION_REVERT              = 11;