getInfo()); } public function lists() { $data = $this->request->params([ ['from_type', ''], ['related_id', ''], ['create_time', []], ]); return success((new ShopAccountLogService())->getPage($data)); } /** * 店铺申请状态 * @return Response */ public function getAccountType() { return success(ShopAccountDict::getType()); } /** * 店铺收款方式编辑 */ public function setShopAccount() { $data = $this->request->params([ ['bank_type', ''], ['bank_account_name', ''], ['bank_account_no', ''], ['bank_name', ''], ['bank_address', ''], ['alipay_name', ''], ['alipay_account_no', ''] ]); ( new ShopAccountService() )->edit($data); return success('EDIT_SUCCESS'); } /** * 检查店铺配置信息是否完善 */ public function checkAccountPayInfo() { $data = []; if (( new ShopAccountService() )->check()) { $data['is_fill'] = 1; } else { $data['is_fill'] = 0; } return success($data); } }