Delivery.php 488 Bytes
<?php
defined('IN_IA') or exit('Access Denied');

class Delivery
{
	static function initStoryFee($storeId)
	{
		$info = pdo_get('cjdc_distribution', array('store_id'=> $storeId));
		if (empty($info)) {
			$data['start']		= 0;	//0公里;
			$data['end']		= 20; 	// 20公里;
			$data['money']		= 0; 	//0元起送
			$data['num']		= 1; 	//排序1
			$data['store_id']	= $storeId;
			$res = pdo_insert('cjdc_distribution',$data);
		}
	}

	static function test()
	{
		return "test 999";
	}

}