Commit e4dc78fd authored by yanghui's avatar yanghui

测试

parent 17383e26
......@@ -3531,4 +3531,18 @@ class Esf_center_api extends MY_Controller {
return true;
}
public function test(){
$transactionId = $_GET['trans_id'];
if(!$transactionId){
echo 'error';exit;
}
$this->load->model("package_model");
$orderInfo = $this->package_model->getOrderInfoByTransactionId($transactionId);
if(empty($orderInfo)){
echo 'no order';exit;
}
$this->sendMsg($orderInfo);
echo 'ok';exit;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment