1

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

有人知道吗?

4

1 回答 1

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;
于 2013-06-28T23:48:29.733 回答