Home > Backend Development > PHP Tutorial > php itop导入联系人csv数据

php itop导入联系人csv数据

WBOY
Release: 2016-06-20 12:49:04
Original
1756 people have browsed it


导入联系人使用的脚本
[root@nb0001 itopPersonImport]# cat import.sh
php /var/www/html/itop/webservices/import.php --auth_user=admin --auth_pwd=admin --class=Person --charset="UTF-8"  --csvfile=person_okUtf8.csv --separator = "," --reconciliationkeys="Email"




csv样式参照
[root@nb0001 itopPersonImport]# cat person_okUtf8.csv
First Name,Last Name,Status,Organization->Name,Phone,Email,Notification,Function
张三,"zhang,san",Active,杭州******有限公司,1333612****,zhang_san@qq.cn,yes,*****工程师







source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template