dever 3 anos atrás
pai
commit
08f7cd1a0b
1 arquivos alterados com 1 adições e 1 exclusões
  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');