定义的类型: 'amount' => array('name' => 'amount', 'type' => 'xsd:string'),
$db=new Db();
// $res=$db->fetch("ims_ewei_shop_order"," openid='$cardNo' and createtime between $kdate and $edate");
$res=$db->fetch("ims_ewei_shop_order");
//要返回的数据
return array(
'cardNo' =>$res['openid'],
'from' =>$from,
'thru' =>$thru,
'billType' =>$billType,
'srcId' =>$srcId,
'amount'=>$res,
);