WIN-2308041133\Administrator 1 éve
szülő
commit
7e3230abcf
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      application/api/controller/Lave.php

+ 2 - 0
application/api/controller/Lave.php

@@ -307,6 +307,7 @@ class Lave extends Api
             if ($date != $now_date) {  //先确定月份不同
                 if ($today == $day||$today==$last) { //再确定是不是签约那天或者是当月的最后一天
 //                    var_dump(123);
+                    @file_put_contents("quanju.txt", $v['contract_display_account']."测试申请扣款-\r\n", 8);
                     $cid=$v['cid'];
 //            if ($this->querySign($cid,$v['uid'],$v['plan_id'],$v['contract_code'])){
                     $arr['mch_id'] =Company::where('id', $cid)->value('pay_weixin_mchid');
@@ -330,6 +331,7 @@ class Lave extends Api
                     $where1['type']='0';
                     $where1['record_id']=$v['id'];
 //                $where1['help_id']='0';
+                    @file_put_contents("quanju.txt", json_encode($where1)."测试申请扣款2-\r\n", 8);
                     $order = LaveMonthModel::create($where1);
 //            }
                     var_dump($order);