|
|
|
@ -509,7 +509,7 @@ class MarketPercentageController extends ThinkController
|
|
|
|
|
->find();
|
|
|
|
|
if ($is_hav) {
|
|
|
|
|
|
|
|
|
|
if ($is_hav['coefficient'] != $save['coefficient']) {
|
|
|
|
|
// if ($is_hav['coefficient'] != $save['coefficient']) {
|
|
|
|
|
$save['update_time'] = time();
|
|
|
|
|
M("coefficient","tab_")
|
|
|
|
|
->where([
|
|
|
|
@ -522,7 +522,7 @@ class MarketPercentageController extends ThinkController
|
|
|
|
|
'admin_id'=>$save['admin_id']
|
|
|
|
|
])->save($marketSave);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
$save['create_time'] = time();
|
|
|
|
|