Yii2 的 Active Record 插入數據庫,當這個字段是枚舉型的時候,就始終無法入庫?MySQL表中的 return_type (reship,replacement,refund)但是我$customer = new Customer();$customer->return_type = 'reship';$customer->save();始終無法插入數據庫,怎么回事?
- 2 回答
- 0 關注
- 1081 瀏覽
添加回答
舉報
0/150
提交
取消