예제 #1
0
 public static function downOrderToFinejo()
 {
     $data = $_GET['dataArr'];
     foreach ($data as $orderid) {
         $orderlist .= $orderid . ',';
     }
     $orderArr = substr($orderlist, 0, strlen($orderlist) - 1);
     $rtnData = put_orderIdToFinejo($orderArr);
     //成功返回:Success;失败返回:Failure
     if ($rtnData == 'Success') {
         $rtnResult = PurchaseOrderModel::updateDownFinejoOrderStatus($orderArr);
         //更新订单为在途状态
         return $rtnResult;
     } else {
         return $rtnData;
     }
 }