|
@@ -70,6 +70,8 @@ class Aatest extends Start_Controller {
|
|
//定义方法的调用规则 获取URI第二段值
|
|
//定义方法的调用规则 获取URI第二段值
|
|
public function _remap($arg,$arg_array)
|
|
public function _remap($arg,$arg_array)
|
|
{
|
|
{
|
|
|
|
+
|
|
|
|
+
|
|
// $this->zzjobs->insert([
|
|
// $this->zzjobs->insert([
|
|
// 'status'=>0,
|
|
// 'status'=>0,
|
|
// 'quque'=>'ysgjcx',//云尚轨迹查询
|
|
// 'quque'=>'ysgjcx',//云尚轨迹查询
|
|
@@ -80,7 +82,7 @@ class Aatest extends Start_Controller {
|
|
// 'do_interval'=>1,
|
|
// 'do_interval'=>1,
|
|
// 'create_time'=>time()
|
|
// 'create_time'=>time()
|
|
// ]);
|
|
// ]);
|
|
- die;
|
|
|
|
|
|
+
|
|
// if($arg == 'fout')
|
|
// if($arg == 'fout')
|
|
// {
|
|
// {
|
|
// //$this->_fout();
|
|
// //$this->_fout();
|
|
@@ -94,11 +96,15 @@ class Aatest extends Start_Controller {
|
|
// // $this->_th($arg_array);
|
|
// // $this->_th($arg_array);
|
|
// }else{
|
|
// }else{
|
|
|
|
|
|
- // $this->_a($arg_array);
|
|
|
|
|
|
+ $this->_logistic();
|
|
// //$this->_mdedit($arg_array);
|
|
// //$this->_mdedit($arg_array);
|
|
// }
|
|
// }
|
|
- $this->_doWcCp();
|
|
|
|
|
|
+ //$this->_print();
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ public function _print(){
|
|
|
|
+ $this->_Template('aaadayin',$this->data);
|
|
|
|
+ }
|
|
|
|
|
|
public function _doWcCp(){
|
|
public function _doWcCp(){
|
|
$info = $this->zzhjobs->find("status = 0");
|
|
$info = $this->zzhjobs->find("status = 0");
|
|
@@ -173,7 +179,7 @@ class Aatest extends Start_Controller {
|
|
}
|
|
}
|
|
|
|
|
|
//物流轨迹
|
|
//物流轨迹
|
|
- public function _logistic($arg_array){
|
|
|
|
|
|
+ public function _logistic(){
|
|
|
|
|
|
echo "<pre>";
|
|
echo "<pre>";
|
|
if(empty($arg_array)){
|
|
if(empty($arg_array)){
|
|
@@ -205,6 +211,11 @@ class Aatest extends Start_Controller {
|
|
// {
|
|
// {
|
|
// $fs = $this->usps->get_logistics($v);
|
|
// $fs = $this->usps->get_logistics($v);
|
|
// }
|
|
// }
|
|
|
|
+ $fs = $this->cne->get_logistics_yskx([
|
|
|
|
+ [
|
|
|
|
+ "TrackNumber"=>"880739284316",
|
|
|
|
+ ]
|
|
|
|
+ ]);
|
|
print_r($fs);
|
|
print_r($fs);
|
|
//$fs = $this->usps->get_logistics($v);
|
|
//$fs = $this->usps->get_logistics($v);
|
|
die;
|
|
die;
|
|
@@ -287,7 +298,7 @@ class Aatest extends Start_Controller {
|
|
'dtctitle'=>$dtctitle
|
|
'dtctitle'=>$dtctitle
|
|
];
|
|
];
|
|
}
|
|
}
|
|
- public function _a($arg_array){
|
|
|
|
|
|
+ public function _a(){
|
|
|
|
|
|
echo "<pre>";
|
|
echo "<pre>";
|
|
// $str = "86,-2397-957-101-146-29-72-2071-|A041 #P18/613 Straight 13*4 Frontal Wig Small 180% Ready to Go 16inch |1|0.00|0.00|16|0.00|0.00|255|0;87,-128-80-2323-57-104-146-29-72-2071-|Wigs 9A A032 Natural Black Deep Wave 13*4 Frontal Wig Small 180% Ready to Go 18inch |1|0.00|0.00|18|0.00|0.00|265|0;";
|
|
// $str = "86,-2397-957-101-146-29-72-2071-|A041 #P18/613 Straight 13*4 Frontal Wig Small 180% Ready to Go 16inch |1|0.00|0.00|16|0.00|0.00|255|0;87,-128-80-2323-57-104-146-29-72-2071-|Wigs 9A A032 Natural Black Deep Wave 13*4 Frontal Wig Small 180% Ready to Go 18inch |1|0.00|0.00|18|0.00|0.00|265|0;";
|
|
@@ -308,8 +319,9 @@ class Aatest extends Start_Controller {
|
|
$data = $this->getDtc();
|
|
$data = $this->getDtc();
|
|
$dtc = $data['dtc'];
|
|
$dtc = $data['dtc'];
|
|
$dtctitle = $data['dtctitle'];
|
|
$dtctitle = $data['dtctitle'];
|
|
|
|
+ //die;
|
|
$quantity = '1';
|
|
$quantity = '1';
|
|
- $issku = 'STW-Ponytail-24-Accs-135g';
|
|
|
|
|
|
+ $issku = 'NW-Ponytail-10-Accs-175g';
|
|
$money = array();
|
|
$money = array();
|
|
$productdescribe = $this->productdescribe->find_all('1=1');
|
|
$productdescribe = $this->productdescribe->find_all('1=1');
|
|
foreach ($productdescribe as $v)
|
|
foreach ($productdescribe as $v)
|