|
|
@ -28,17 +28,11 @@ class FinanceCompareController extends ThinkController
|
|
|
|
}
|
|
|
|
}
|
|
|
|
public function compareData()
|
|
|
|
public function compareData()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// $data = I('POST.');
|
|
|
|
$checkdata = I('POST.');
|
|
|
|
$keys = ["支付订单号","实付金额"];
|
|
|
|
$keys = $checkdata['keys'];
|
|
|
|
$compare_id = 1;
|
|
|
|
$compare_id = $checkdata['compare_id'];
|
|
|
|
$pay_way = 1;//1支付宝 2微信 17易宝
|
|
|
|
$pay_way = $checkdata['pay_way'];//1支付宝 2微信 17易宝
|
|
|
|
$data = [
|
|
|
|
$data = $checkdata['checkarr'];
|
|
|
|
["支付订单号"=> "SP_202003231152197Lhd_test","实付金额"=>0.01],
|
|
|
|
|
|
|
|
["支付订单号"=> "SP_20200325103203fBPI_test","实付金额"=>0.01],
|
|
|
|
|
|
|
|
["支付订单号"=> "SP_20200325102118dbIy_test","实付金额"=>0.01],
|
|
|
|
|
|
|
|
["支付订单号"=> "SP_20200325102110Dpga_test","实付金额"=>0.01],
|
|
|
|
|
|
|
|
["支付订单号"=> "PF_20200225170537PpOt","实付金额"=>1]
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
//过滤数据
|
|
|
|
//过滤数据
|
|
|
|
$sp=[];
|
|
|
|
$sp=[];
|
|
|
|
$pf=[];
|
|
|
|
$pf=[];
|
|
|
@ -73,7 +67,7 @@ class FinanceCompareController extends ThinkController
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
dump($sres);
|
|
|
|
dd($sres);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
protected function setDiffData($dbres,$ydata)
|
|
|
|
protected function setDiffData($dbres,$ydata)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -116,6 +110,5 @@ class FinanceCompareController extends ThinkController
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
dd($ydata);
|
|
|
|
dd($ydata);
|
|
|
|
# code...
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|