dataLists(new AccountLogLists()); } /** * @notes 变动类型列表 * @return array|\think\response\Json * @author ljj * @date 2022/5/31 5:06 下午 */ public function changeTypeLists() { $params = $this->request->get('change_object',AccountLogEnum::MONEY); if ($params == AccountLogEnum::MONEY) { return $this->data(AccountLogEnum::getChangeTypeDesc(true,true)); } // if ($params == AccountLogEnum::DEPOSIT) { // return $this->data(AccountLogEnum::getDepositTypeDesc()); // } return []; } }