You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

30 lines
716 B

@echo off
setlocal
echo === 测试客户信息更新API ===
set BASE_URL=http://localhost:8081/DL
set PHONE=17780155537
set NEW_NAME=TestCustomerUpdate
echo 🔄 正在调用更新客户信息API...
curl -X POST ^
"%BASE_URL%/supplyCustomer/updateCustomer" ^
-H "Content-Type: application/json" ^
-d "{
\"phoneNumber\": \"%PHONE%\",
\"nickName\": \"%NEW_NAME%\",
\"type\": \"seller\",
\"dataSource\": \"wechat\",
\"managercompany\": \"测试公司\",
\"managerdepartment\": \"测试部门\",
\"organization\": \"测试组织\",
\"role\": \"测试角色\",
\"userName\": \"测试用户\",
\"assistant\": \"测试助手\"
}"
echo.
echo === 测试完成 ===
endlocal