小智 20
我刚发现了:
$this->customer->getFirstName();
$this->customer->getLastName();
$this->customer->getEmail();
$this->customer->getTelephone();
$this->customer->getFax();
Run Code Online (Sandbox Code Playgroud)
等等.
源代码(包括其他可用方法)位于system/library/customer.php文件中.
您可以在任何地方使用这些方法.
希望这可以帮助.
客户和用户之间存在差异.要获取当前用户ID(管理员,经理等),请执行以下操作:
$this->session->data['user_id'];
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
19098 次 |
| 最近记录: |