主键修改

feature/main20240421
guojia 7 months ago
parent 98d6c8baf0
commit 952421f6c1
  1. 2
      app/common/model/Merchant.php

@ -26,7 +26,7 @@ class Merchant extends BaseModel
protected $name = 'merchant'; protected $name = 'merchant';
// 定义主键 // 定义主键
protected $pk = 'id'; protected $pk = 'merchant_id';
/** /**
* 关联logo图片 * 关联logo图片

Loading…
Cancel
Save