Commit 095698de by haojie

1

parent 854546a5
...@@ -141,7 +141,8 @@ public function usePayCheck(Request $request) ...@@ -141,7 +141,8 @@ public function usePayCheck(Request $request)
$amount = $request->input('price', null); $amount = $request->input('price', null);
$form = $request->input('form', null); $form = $request->input('form', null);
# 先写死 # 先写死
$to = '0x51eF357cf7204DB2a6e31750817F709a10c86f37'; $address = SetAddress::query()->first();
$to = $address->address;
if (empty($hash) || empty($amount) || empty($form)) { if (empty($hash) || empty($amount) || empty($form)) {
return $this->error('缺少数据', 400, 400); return $this->error('缺少数据', 400, 400);
} }
......
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