With the continuous development of e-commerce and the surge of online orders,it has brought tremen-dous pressure to the logistics industry.Considering factors such as UAV load and range,the mathematical model of vehicle-coordinated UAV delivery is established with the goal of minimizing the total cost of truck and UAV delivery.The two-stage method is designed to solve the mathematical model,firstly,the truck delivery point is found by K-means clustering algorithm,then the shortest delivery path of UAV is solved by discrete artificial firefly algorithm,and finally the total cost of delivery is derived based on the model.The simulation shows that the discrete artificial firefly algorithm has a better optimization capability than the traditional ant colony algorithm and particle swarm algorithm,and the vehicle cooperative UAV delivery mode has a lower cost of 53%than the traditional separate vehicle delivery mode,which provides an effective solution to solve the distribution pressure problem in the logistics industry.