|
@@ -410,9 +410,10 @@ class My extends Core
|
|
|
$area = Dever::input('area');
|
|
|
if ($area) {
|
|
|
$update['area'] = $area;
|
|
|
-
|
|
|
}
|
|
|
|
|
|
+ $update += Dever::load('agent/lib/order')->getPrice($this->user);
|
|
|
+
|
|
|
if ($info['pay_type'] == 2) {
|
|
|
$update['pay_pic'] = Dever::input('pay_pic');
|
|
|
if (!$update['pay_pic']) {
|
|
@@ -430,6 +431,7 @@ class My extends Core
|
|
|
$update['status'] = 1;
|
|
|
}
|
|
|
|
|
|
+ $update['udate'] = time();
|
|
|
Dever::db('agent/order')->update($update);
|
|
|
|
|
|
$this->data['info'] = $info;
|