@@ -248,6 +248,9 @@ class ExpendController extends BaseController
}
+ //避免重复提交
+ util::checkRepeatCommit($this->adminId, 10);
+
$post = Yii::$app->request->post();
$type = $post['type'] ?? -1;
$amount = $post['amount'] ?? 0;