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