1 Yii::$app->db->createCommand()->insert('month4_user',['openid'=>$openid,'integ'=>0])->execute();
2 $id=Yii::$app->db->getLastInsertID();
3 var_dump($id);

 

相关文章:

  • 2022-12-23
  • 2021-10-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-23
  • 2022-12-23
  • 2021-07-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-29
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案