transfer
This commit is contained in:
parent
842fdb704f
commit
9db8347518
@ -273,7 +273,7 @@ class EarningController extends Controller
|
|||||||
public function MyWithdraws(Request $request)
|
public function MyWithdraws(Request $request)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$appId = config("wechat.app_id");
|
$appId = config("wechat.service_payment.app_id");
|
||||||
$mchId = config("wechat.payment.mch_id");
|
$mchId = config("wechat.payment.mch_id");
|
||||||
$merchant_id = $request->merchant_id ?? 0;
|
$merchant_id = $request->merchant_id ?? 0;
|
||||||
$merchant_user_id = $request->merchant_user_id ?? 0;
|
$merchant_user_id = $request->merchant_user_id ?? 0;
|
||||||
@ -657,7 +657,7 @@ class EarningController extends Controller
|
|||||||
$withdraw->status = "wait_user_confirm";
|
$withdraw->status = "wait_user_confirm";
|
||||||
$withdraw->save();
|
$withdraw->save();
|
||||||
DB::commit();
|
DB::commit();
|
||||||
$appId = config("wechat.app_id");
|
$appId = config("wechat.service_payment.app_id");
|
||||||
$mchId = config("wechat.payment.mch_id");
|
$mchId = config("wechat.payment.mch_id");
|
||||||
return $this->success('ok', ['status' => 1, "package_info" => $package_info, "app_id" => $appId, "mch_id" => $mchId]);
|
return $this->success('ok', ['status' => 1, "package_info" => $package_info, "app_id" => $appId, "mch_id" => $mchId]);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user