transfer
This commit is contained in:
parent
9a8d19d48a
commit
842fdb704f
@ -273,8 +273,8 @@ class EarningController extends Controller
|
||||
public function MyWithdraws(Request $request)
|
||||
{
|
||||
try {
|
||||
$appId = config("wechat.service_payment.app_id");
|
||||
$mchId = config("wechat.service_payment.mch_id");
|
||||
$appId = config("wechat.app_id");
|
||||
$mchId = config("wechat.payment.mch_id");
|
||||
$merchant_id = $request->merchant_id ?? 0;
|
||||
$merchant_user_id = $request->merchant_user_id ?? 0;
|
||||
$list = MEarningwithdraws::whereIn('status', ['finished', 'freezing', "wait_user_confirm"])->where('m_id', $merchant_id)->where('m_user_id', $merchant_user_id)->paginate();
|
||||
@ -657,8 +657,8 @@ class EarningController extends Controller
|
||||
$withdraw->status = "wait_user_confirm";
|
||||
$withdraw->save();
|
||||
DB::commit();
|
||||
$appId = config("wechat.service_payment.app_id");
|
||||
$mchId = config("wechat.service_payment.mch_id");
|
||||
$appId = config("wechat.app_id");
|
||||
$mchId = config("wechat.payment.mch_id");
|
||||
return $this->success('ok', ['status' => 1, "package_info" => $package_info, "app_id" => $appId, "mch_id" => $mchId]);
|
||||
|
||||
// //修改账号状态
|
||||
|
||||
Loading…
Reference in New Issue
Block a user