Commit 1ee2be11 authored by hujun's avatar hujun

跨域

parent 7908e778
......@@ -57,7 +57,7 @@ class Finance extends Basic
$pageNo = empty($this->params['pageNo']) ? 1 : $this->params['pageNo'];
$pageSize = empty($this->params['pageSize']) ? 15 : $this->params['pageSize'];
$fields = 'a.id,a.create_time,b.user_phone,b.user_name,d.internal_title,d.internal_address,a.commission,a.practical_fee,a.order_no,content';
$fields = 'a.id,a.create_time,b.user_phone,b.user_name,d.internal_title,d.internal_address,a.commission,a.practical_fee,a.scale_fee,a.order_no,content';
$where['a.father_id'] = 0;
$where['c.is_del'] = 0;
$where['a.status'] = 10;
......@@ -363,6 +363,7 @@ class Finance extends Basic
*/
public function selectReportAll()
{
header('Access-Control-Allow-Origin:*');
$params = $this->params;
if (!isset($params["order_id"])) {
return $this->response("101", "请求参数错误");
......
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