private function submit($order_no = '')
 {
     if (empty($order_no)) {
         $order_no = I('get.order_no', '');
     }
     $request = new SFOrder();
     $result = $request->submit($order_no);
     if (!$result['status']) {
         $this->error($result['info']);
     }
     $info = $result['info'];
     $result_code = $info['resultCode'];
     $result_reason = $info['resultReason'];
     $order_status = $info['orderStatus'];
     $order_success_time = time();
     if ($result_code == '1000') {
         $entity = array('order_status' => $order_status, 'update_time' => $order_success_time);
         $result = apiCall(SantiOrderApi::SAVE, array(array('order_no' => $order_no), $entity));
         if ($result['status']) {
             $this->apiReturnSuc('提交成功!');
         } else {
             $this->apiReturnErr($result['info']);
         }
     } else {
         $this->apiReturnErr($result_reason);
     }
 }
 public function submit($orderNo)
 {
     $order = new SFOrder();
     $result = $order->submit($orderNo);
     if ($result['status']) {
         $info = $result['info'];
         if ($info['resultCode'] == 1000) {
             return array('status' => true, 'info' => $info['orderStatus']);
         } else {
             return array('status' => false, 'info' => $info['resultReason']);
         }
     } else {
         return $result;
     }
 }