|
|
@@ -211,7 +211,7 @@ class Lave extends Api
|
|
|
|
|
|
$info = compact('orderId');
|
|
|
if ($orderId) {
|
|
|
- if ($where['user_id'] != 6779 && $where['user_id'] != 12125) {
|
|
|
+ if ($where['user_id'] != 6779 && $where['user_id'] != 12125&&$where['user_id']!=63) {
|
|
|
$orderInfo = LaveMonthModel::where('order_id', $orderId)->find();
|
|
|
if (!$orderInfo || !isset($orderInfo['paid'])) {
|
|
|
$this->error('支付订单不存在!');
|
|
|
@@ -235,7 +235,9 @@ class Lave extends Api
|
|
|
$count = WechatPlanRecord::where('uid', $where1['user_id'])->where('plan_id', $plan_id)->count();
|
|
|
$record = WechatPlanRecord::create($plan_record);
|
|
|
@file_put_contents("quanju.txt", json_encode($record) . "-签约模版记录\r\n", 8);
|
|
|
- LaveMonthModel::where('order_id', $orderId)->update(['record_id' => $record['id']]);
|
|
|
+ if ($where['user_id'] != 6779 && $where['user_id'] != 12125&&$where['user_id']!=63) {
|
|
|
+ LaveMonthModel::where('order_id', $orderId)->update(['record_id' => $record['id']]);
|
|
|
+ }
|
|
|
$plan_record['spbill_create_ip'] = User::where('id', $where1['user_id'])->value('loginip');
|
|
|
$plan_record['contract_notify_url'] = Request::instance()->domain() . "/api/wechat/notify/" . $where['cid'];
|
|
|
try {
|
|
|
@@ -335,7 +337,7 @@ class Lave extends Api
|
|
|
// die();
|
|
|
|
|
|
$plan = WechatPlanRecord::where('contract_code', $contract_code)->find();
|
|
|
- if ($plan['uid'] != 6779 && $plan['uid'] != 12125) {
|
|
|
+ if ($plan['uid'] != 6779 && $plan['uid'] != 12125&&$plan['uid']!=63) {
|
|
|
return false;
|
|
|
}
|
|
|
@file_put_contents("quanju3.txt", $plan['uid'] . "测试申请扣款uid-\r\n", 8);
|