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