dever 3 年 前
コミット
08f7cd1a0b
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/Invoice.php

+ 1 - 1
src/Invoice.php

@@ -61,7 +61,7 @@ class Invoice  extends Base
     # 添加或者更新地址接口
     public function up()
     {
-        $uid = 1;
+        $uid = $this->check();
         $id = Dever::input('id');
         $type = Dever::input('type', 2);
         $title_type = Dever::input('title_type');