Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当从后端添加/更新地址时触发钩子。
有几个与地址相关的本机钩子,如果您想在地址对象被写入 DB 之前/之后与之交互,请使用这些钩子:
actionObjectAddressAddAfter、actionObjectAddressUpdateAfter、actionObjectAddressDeleteAfter
和/或您可以使用
actionValidateCustomerAddressForm
在提交地址表单之前对其执行额外的验证。