|
|
@@ -636,11 +636,10 @@ class UserController
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public function applyMemberCheck(Request $request)
|
|
|
+ public function applyMemberCheck($type, Request $request)
|
|
|
{
|
|
|
$uid = $request->uid();
|
|
|
$param = UtilService::postMore([
|
|
|
- ['type', ''],
|
|
|
['name', ''],
|
|
|
['id', ''],
|
|
|
['phone', ''],
|
|
|
@@ -656,6 +655,7 @@ class UserController
|
|
|
], $request);
|
|
|
$payType = $param['pay_type'];
|
|
|
$from = $param['from'];
|
|
|
+ $param['type'] = $type;
|
|
|
$order = MemberCheck::createOrder($param, $uid, $payType, $from);
|
|
|
if ($order === false) return app('json')->fail(MemberCheck::getErrorInfo('订单生成失败'));
|
|
|
$orderId = $order['order_id'];
|