@ -97,7 +97,13 @@ class TestOrderController extends ThinkController
public function saveOrder() {
$data = $_GET;
//获取parter_id
if(isset($data["merchant_id"])){
$w = [
"id"=>$data["merchant_id"]
];
$data["partner_type"] = M("payment_merchant","tab_")->where($w)->getField("main_id");
}
// dump($data);die();
$data['add_time'] = time();
$data['pay_time'] = strtotime($data['pay_time']);