WIN-2308041133\Administrator 6 月之前
父节点
当前提交
1317271f38
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      application/api/controller/Lave.php

+ 4 - 1
application/api/controller/Lave.php

@@ -306,9 +306,12 @@ class Lave extends Api
 //            var_dump($now_date);
             @file_put_contents("quanju.txt", "789456135415-\r\n", 8);
             if ($date != $now_date) {  //先确定月份不同
+                @file_put_contents("quanju.txt", "123-\r\n", 8);
+                @file_put_contents("quanju.txt", $today."123456-\r\n", 8);
+                @file_put_contents("quanju.txt", $day."789-\r\n", 8);
                 if ($today == $day||$today==$last) { //再确定是不是签约那天或者是当月的最后一天
 //                    var_dump(123);
-                    @file_put_contents("quanju.txt", $v['contract_display_account']."测试申请扣款-\r\n", 8);
+                    @file_put_contents("quanju.txt", json_encode($v)."测试申请扣款-\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');