def post(self): """ 发送验证码 :return: """ service = VcodeService() result, vcode_str = service.make_vcode_picture() resp = Response(result) service.set_vcode_picture(vcode_str, user_type=_USER_TYPE_BORROW) return resp
def post(self): """ 发送验证码 :return: """ service = VcodeService() result, vcode_str = service.make_vcode_picture() resp = Response(result) service.set_vcode_picture(vcode_str, user_type=_USER_TYPE_INVEST, vcode_type=_VCODE_SET_PAY_PD) return resp
def post(self): """ 发送验证码 :return: """ service = VcodeService() result, vcode_str = service.make_vcode_picture() resp = Response(result) service.set_vcode_picture(vcode_str, user_type=_USER_TYPE_INVEST, vcode_type=_REQUEST_TYPE_LOGINING) return resp