wupengfei 3 年之前
父节点
当前提交
aeb070cfa7
共有 2 个文件被更改,包括 4 次插入9 次删除
  1. 2 7
      application/api/common.php
  2. 2 2
      application/api/controller/Expedite.php

+ 2 - 7
application/api/common.php

@@ -1,6 +1,7 @@
 <?php
 // 接口公共方法
 use think\Db;
+
 //  更新商品库存
 function update_goods_stock($goods_id,$goods_no,$num){
     $goods_info = Db::table('store_goods')
@@ -79,13 +80,7 @@ function get_month_day(){
 }
 
 
-function get_month_detail()
-{
-    $year = date('Y');
-    $month = date('m');
-    $day_num =  cal_days_in_month(0,8,2016);
-    var_dump($day_num);
-}
+
 
 
 

+ 2 - 2
application/api/controller/Expedite.php

@@ -132,8 +132,8 @@ class Expedite extends Base
 
     public function qc()
     {
-        cal_days_in_month(CAL_GREGORIAN,8,2016);
-        get_month_detail();
+
+        get_month_day();
     }