摘要:
Db::startTrans(); try{ Db::commit(); } catch (\Exception $e) { Db::rollback(); } use think\Db; public function addInfoData($member_id, $type, $money, 阅读全文
摘要:
truncate(num, 位数); //不四舍五入,4位后 没有逗号分隔 。输出4111545.13 truncate(4111545.1366,2); 阅读全文
摘要:
use think\Validate; <?php namespace app\common\model; use think\Validate; use think\Db; class InvoiceRecords extends BaseModel { protected $table = 't 阅读全文